Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
The OpcNodeValuePair struct defines the following members.
Initializes a new instance of the OpcNodeValuePair structure using the specified node
and value
.
C#
public OpcNodeValuePair(IOpcNodeValue node, object value)
Parameters
node
IOpcNodeValue
The IOpcNodeValue object used to identify the node.
value
Object
The Object representing the value.
Exceptions
The node
is a null reference (Nothing in Visual Basic).
Gets the IOpcNodeValue used to identify the node.
C#
public IOpcNodeValue Node { get; }
Property Value
An object implementing the IOpcNodeValue interface.
Gets the value associated with the Node.
C#
public object Value { get; }
Property Value
An Object used as the value in OpcNodeValuePair.
Deconstructs the OpcNodeValuePair into the Node and the Value used.
C#
public void Deconstruct(out IOpcNodeValue node, out object value)
Parameters
node
IOpcNodeValue
The Node of the OpcNodeValuePair.
value
Object
The Value of the OpcNodeValuePair.
Returns a String representing the Node and Value of the current OpcNodeValuePair.
C#
public override string ToString()
Returns
A String representing the Node and Value of the current OpcDataTypeInfo.