Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcReadNode type exposes the following members.
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.
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.
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.
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.
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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.
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.
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.
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.