Skip to content

Reference

OpcReadNode Members

Defines a single command of the IOpcReadNodesService.

Reference

OpcReadNode Members ​

Type
OpcReadNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcNodeAttributeServiceCommand, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcReadNode ​

20 overloads

OverloadDescription
OpcReadNode(OpcNodeId)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.
OpcReadNode(string)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.
OpcReadNode(int)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.
OpcReadNode(string, int)Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute.
OpcReadNode(int, int)Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute.
OpcReadNode(OpcNodeId, OpcAttribute)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.
OpcReadNode(string, OpcAttribute)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.
OpcReadNode(int, OpcAttribute)Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.
OpcReadNode(string, int, OpcAttribute)Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute.
OpcReadNode(int, int, OpcAttribute)Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute.
OpcReadNode(OpcNodeId, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.
OpcReadNode(string, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.
OpcReadNode(int, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.
OpcReadNode(string, int, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute according to the range.
OpcReadNode(int, int, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute according to the range.
OpcReadNode(OpcNodeId, OpcAttribute, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.
OpcReadNode(string, OpcAttribute, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.
OpcReadNode(int, OpcAttribute, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.
OpcReadNode(string, int, OpcAttribute, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute according to the range.
OpcReadNode(int, int, OpcAttribute, OpcRange)since v2.24Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute according to the range.

OpcReadNode(OpcNodeId) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.

csharp
public OpcReadNode(OpcNodeId nodeId)
vbnet
Public Sub New(nodeId As OpcNodeId)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will read the Value attribute.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(string) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.

csharp
public OpcReadNode(string nodeId)
vbnet
Public Sub New(nodeId As String)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.

OpcReadNode(int) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute.

csharp
public OpcReadNode(int nodeId)
vbnet
Public Sub New(nodeId As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.

OpcReadNode(string, int) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute.

csharp
public OpcReadNode(string nodeId, int namespaceIndex)
vbnet
Public Sub New(nodeId As String, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcReadNode(int, int) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute.

csharp
public OpcReadNode(int nodeId, int namespaceIndex)
vbnet
Public Sub New(nodeId As Integer, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcReadNode(OpcNodeId, OpcAttribute) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.

csharp
public OpcReadNode(OpcNodeId nodeId, OpcAttribute attribute)
vbnet
Public Sub New(nodeId As OpcNodeId, attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will read the attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(string, OpcAttribute) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.

csharp
public OpcReadNode(string nodeId, OpcAttribute attribute)
vbnet
Public Sub New(nodeId As String, attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(int, OpcAttribute) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute.

csharp
public OpcReadNode(int nodeId, OpcAttribute attribute)
vbnet
Public Sub New(nodeId As Integer, attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(string, int, OpcAttribute) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute.

csharp
public OpcReadNode(string nodeId, int namespaceIndex, OpcAttribute attribute)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(int, int, OpcAttribute) ​

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute.

csharp
public OpcReadNode(int nodeId, int namespaceIndex, OpcAttribute attribute)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(OpcNodeId, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.

csharp
public OpcReadNode(OpcNodeId nodeId, OpcRange range)
vbnet
Public Sub New(nodeId As OpcNodeId, range As OpcRange)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will read the Value attribute.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(string, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.

csharp
public OpcReadNode(string nodeId, OpcRange range)
vbnet
Public Sub New(nodeId As String, range As OpcRange)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the Value attribute according to the range.

csharp
public OpcReadNode(int nodeId, OpcRange range)
vbnet
Public Sub New(nodeId As Integer, range As OpcRange)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(string, int, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute according to the range.

csharp
public OpcReadNode(string nodeId, int namespaceIndex, OpcRange range)
vbnet
Public Sub New(nodeId As String, namespaceIndex As Integer, range As OpcRange)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, int, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the Value attribute according to the range.

csharp
public OpcReadNode(int nodeId, int namespaceIndex, OpcRange range)
vbnet
Public Sub New(nodeId As Integer, namespaceIndex As Integer, range As OpcRange)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its Value attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(OpcNodeId, OpcAttribute, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.

csharp
public OpcReadNode(OpcNodeId nodeId, OpcAttribute attribute, OpcRange range)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    range As OpcRange)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will read the attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(string, OpcAttribute, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.

csharp
public OpcReadNode(string nodeId, OpcAttribute attribute, OpcRange range)
vbnet
Public Sub New(nodeId As String, attribute As OpcAttribute, range As OpcRange)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, OpcAttribute, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId to read the attribute according to the range.

csharp
public OpcReadNode(int nodeId, OpcAttribute attribute, OpcRange range)
vbnet
Public Sub New(nodeId As Integer, attribute As OpcAttribute, range As OpcRange)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(string, int, OpcAttribute, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute according to the range.

csharp
public OpcReadNode(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcRange range)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    range As OpcRange)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, int, OpcAttribute, OpcRange) ​

since v2.24

Initializes a new instance of the OpcReadNode class using the specified nodeId and namespaceIndex to read the attribute according to the range.

csharp
public OpcReadNode(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcRange range)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    range As OpcRange)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
rangeOpcRangeThe OpcRange to use to identify the single element or range of elements to read.

Properties ​

Range ​

since v2.24

Gets the OpcRange used to identify a single element or range of elements in the Attribute.

csharp
public OpcRange Range { get; }
vbnet
Public ReadOnly Property Range As OpcRange

Property value

OpcRange

The OpcRange used to identify a single element of an array or a single range of indexes for arrays. If a range of elements is specified, the values are returned as a composite. The first element is identified by index zero. If the specified Attribute is an array and this property is equals Empty, then all elements are to be included in the range.