Reference
OpcNodeValuePair Members
Defines a node value pair using an IOpcNodeValue object as the node and an object as the value.
Reference
OpcNodeValuePair Members
- Type
- OpcNodeValuePair
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from ValueType.
Constructors
OpcNodeValuePair
Initializes a new instance of the OpcNodeValuePair structure using the specified node and value.
csharp
public OpcNodeValuePair(IOpcNodeValue node, object value)vbnet
Public Sub New(node As IOpcNodeValue, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNodeValue | The IOpcNodeValue object used to identify the node. |
value | Object | The object representing the value. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
Properties
Node
Gets the IOpcNodeValue used to identify the node.
csharp
public readonly IOpcNodeValue Node { get; }vbnet
Public ReadOnly Property Node As IOpcNodeValueProperty value
An object implementing the IOpcNodeValue interface.
Value
Gets the value associated with the Node.
csharp
public readonly object Value { get; }vbnet
Public ReadOnly Property Value As ObjectProperty value
An object used as the value in OpcNodeValuePair.
Methods
Deconstruct
Deconstructs the OpcNodeValuePair into the Node and the Value used.
csharp
public void Deconstruct(out IOpcNodeValue node, out object value)vbnet
Public Sub Deconstruct(node As IOpcNodeValue, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
node | out IOpcNodeValue | The Node of the OpcNodeValuePair. |
value | out Object | The Value of the OpcNodeValuePair. |
ToString
Returns a string representing the Node and Value of the current OpcNodeValuePair.
csharp
public override string ToString()vbnet
Public Overrides Function ToString() As StringReturns
A string representing the Node and Value of the current OpcDataTypeInfo.
Overrides

