Constructs a new instance of the CogDataBinding class.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax
Parameters
- destination
- Type: System Object
The destination object.
- destinationPath
- Type: System String
The property name or dotted path to the destination property.
- source
- Type: System Object
The source object.
- sourcePath
- Type: System String
The property name or dotted path to the source property.
- syncOnInitialize
- Type: System Boolean
Determines if the source and destintation are immeadiatley syncronized when a new databinding is created. If true creating a new databinding will cause the destination value to be immeadiatley updated/syncronized with the source value. If false, the destination value will not be updated unitl the source value has changed.
See Also