Skip to content

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

NameTypeDescription
nodeIOpcNodeValueThe IOpcNodeValue object used to identify the node.
valueObjectThe object representing the value.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe node is a null reference (Nothing in Visual Basic).

Properties ​

Node ​

Gets the IOpcNodeValue used to identify the node.

csharp
public readonly IOpcNodeValue Node { get; }
vbnet
Public ReadOnly Property Node As IOpcNodeValue

Property value

IOpcNodeValue

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 Object

Property value

Object

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

NameTypeDescription
nodeout IOpcNodeValueThe Node of the OpcNodeValuePair.
valueout ObjectThe Value of the OpcNodeValuePair.

ToString ​

override

Returns a string representing the Node and Value of the current OpcNodeValuePair.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

A string representing the Node and Value of the current OpcDataTypeInfo.

Overrides

ToString()