Constructs a new instance of the DataBinding class.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
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
| Exception | Condition |
|---|---|
| ArgumentNullException | source or destination are null |
| ArgumentException | sourcePath or destinationPath are empty |
See Also