CogDataBindingsCollection Replace Method Cognex VisionPro 9.5
Replaces the current binding to the specified input with a binding from the specified property of the specified source object.

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

public CogDataBinding Replace(
	string destinationPath,
	Object source,
	string sourcePath
)

Parameters

destinationPath
Type: System String
The property name or dotted path to the input property to re-bind.
source
Type: System Object
The new object that provides the source property.
sourcePath
Type: System String
The property name or dotted path to the new source property.

Return Value

Type: CogDataBinding
The newly-created CogDataBinding.
See Also