OPC Studio User's Guide and Reference
Cast Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class : Cast Method
Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

Overload List
OverloadDescription
Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

 
Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

 
Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

 
Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

 
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also