CogDataBinding Constructor (Object, String, Object, String, Boolean)Cognex VisionPro
Constructs a new instance of the CogDataBinding class.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

public CogDataBinding(
	Object destination,
	string destinationPath,
	Object source,
	string sourcePath,
	bool syncOnInitialize
)

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