PropertyWatcher Value Property Cognex VisionPro 9.22
Get

Gets the value of the watched property.

Set

Sets the value of the watched property.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public Object Value { get; set; }

Property Value

Type: Object
Exceptions

ExceptionCondition
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.
CompositeExceptionIf 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.
CompositeExceptionIf there is a cached source exception.
Remarks

This getter checks that the property watcher is in a valid state, and throws an exception if not valid.

Remarks

Changed Raises because this method may change the Value property. The following StateFlags may be affected:

Remarks

This setter checks that the property watcher is in a valid state, and throws an exception if not valid.

See Also