OpcReadNode Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcReadNode type exposes the following members.

OpcReadNode(int)

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

C#

public OpcReadNode(int nodeId)


Parameters

nodeId Int32

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

OpcReadNode(int, int)

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

C#

public OpcReadNode(int nodeId, int namespaceIndex)


Parameters

nodeId Int32

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

OpcReadNode(int, int, OpcAttribute)

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

C#

public OpcReadNode(int nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId Int32

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(int, int, OpcAttribute, OpcRange)

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

C#

public OpcReadNode(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcRange range)


Parameters

nodeId Int32

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, int, OpcRange)

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

C#

public OpcReadNode(int nodeId, int namespaceIndex, OpcRange range)


Parameters

nodeId Int32

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, OpcAttribute)

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

C#

public OpcReadNode(int nodeId, OpcAttribute attribute)


Parameters

nodeId Int32

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

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(int, OpcAttribute, OpcRange)

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

C#

public OpcReadNode(int nodeId, OpcAttribute attribute, OpcRange range)


Parameters

nodeId Int32

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

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(int, OpcRange)

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

C#

public OpcReadNode(int nodeId, OpcRange range)


Parameters

nodeId Int32

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

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(OpcNodeId)

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

C#

public OpcReadNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

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


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(OpcNodeId, OpcAttribute)

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

C#

public OpcReadNode(OpcNodeId nodeId, OpcAttribute attribute)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will read the attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(OpcNodeId, OpcAttribute, OpcRange)

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

C#

public OpcReadNode(OpcNodeId nodeId, OpcAttribute attribute, OpcRange range)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will read the attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

OpcReadNode(OpcNodeId, OpcRange)

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

C#

public OpcReadNode(OpcNodeId nodeId, OpcRange range)


Parameters

nodeId OpcNodeId

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

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The 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.

C#

public OpcReadNode(string nodeId)


Parameters

nodeId String

The textual 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.

C#

public OpcReadNode(string nodeId, int namespaceIndex)


Parameters

nodeId String

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

OpcReadNode(string, int, OpcAttribute)

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

C#

public OpcReadNode(string nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId String

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(string, int, OpcAttribute, OpcRange)

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

C#

public OpcReadNode(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcRange range)


Parameters

nodeId String

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(string, int, OpcRange)

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

C#

public OpcReadNode(string nodeId, int namespaceIndex, OpcRange range)


Parameters

nodeId String

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

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(string, OpcAttribute)

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

C#

public OpcReadNode(string nodeId, OpcAttribute attribute)


Parameters

nodeId String

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

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

OpcReadNode(string, OpcAttribute, OpcRange)

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

C#

public OpcReadNode(string nodeId, OpcAttribute attribute, OpcRange range)


Parameters

nodeId String

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

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

OpcReadNode(string, OpcRange)

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

C#

public OpcReadNode(string nodeId, OpcRange range)


Parameters

nodeId String

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

range OpcRange

The OpcRange to use to identify the single element or range of elements to read.

Range

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

C#

public OpcRange Range { get; }


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.