Write the feature identified by node. Works with any data type.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 93.1.0.0
void SetFeature(
string node,
string value
)
void SetFeature(
string node,
string value
)
Sub SetFeature (
node As String,
value As String
)
Sub SetFeature (
node As String,
value As String
)
void SetFeature(
String^ node,
String^ value
)
void SetFeature(
String^ node,
String^ value
)
Parameters
- node
- Type: System String
The name of the feature node to be processed.
- value
- Type: System String
The value to be written to the feature node. This string must contain data that matches the data type of the feature node.
You must set the contents of the
value string to match the data type of the feature node. For an Enum node
value must be one of the valid enum values. For a Boolean node
value must be either '1' (True), or '0' (False). For an Integer node
value must be a properly formatted integer, and for a Float node it must be a properly formatted floating point number.
You should not attempt to call the SetFeature method on a Command node. It is an error to set or get the value of a Command node.