GetGets the value of the watched property.
SetSets the value of the watched property.
Namespace: Cognex.VisionAssembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
public Object Value { get; set; }public Object Value { get; set; }Public Property Value As Object
Get
Set
Public Property Value As Object
Get
Set
public:
property Object^ Value {
Object^ get ();
void set (Object^ value);
}public:
property Object^ Value {
Object^ get ();
void set (Object^ value);
}Property Value
Type:
Object| Exception | Condition |
|---|
| InvalidOperationException | - If a property value cannot be accessed because no Path was supplied.
- If a property value cannot be accessed because no Subject was supplied.
- If source cannot be accessed because the source path is null.
- If a property meta cannot be accessed because the property name is invalid.
|
| CompositeException | If there is a cached source exception. |
| InvalidOperationException | - If a property value cannot be accessed because no Path was supplied.
- If a property value cannot be accessed because no Subject was supplied.
- If source cannot be accessed because the source path is null.
- If a property meta cannot be accessed because the property name is invalid.
|
| CompositeException | If there is a cached source exception. |
This getter checks that the property watcher is in a valid state, and throws an exception if not valid.
Changed Raises because this method may change the Value property. The following StateFlags may be affected:
This setter checks that the property watcher is in a valid state, and throws an exception if not valid.