DataBinding Constructor (Object, String, Object, String)Cognex VisionPro 9.22 SR1

Constructs a new instance of the DataBinding class.

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

public DataBinding(
	Object source,
	string sourcePath,
	Object destination,
	string destinationPath
)

Parameters

source
Type: System Object
The source object.
sourcePath
Type: System String
The property name or dotted path to the source property.
destination
Type: System Object
The destination object.
destinationPath
Type: System String
The property name or dotted path to the destination property.
Exceptions

ExceptionCondition
ArgumentNullExceptionsource or destination are null
ArgumentExceptionsourcePath or destinationPath are empty
See Also