Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcWriteNode type exposes the following members.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
and namespaceIndex
to write the value
to the Value attribute.
C#
public OpcWriteNode(int nodeId, int namespaceIndex, object value)
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.
value
Object
The data to write to the Value attribute.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
and namespaceIndex
to write the value
to the attribute
.
C#
public OpcWriteNode(int nodeId, int namespaceIndex, OpcAttribute attribute, object value)
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.
value
Object
The data to write to the attribute
.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
to write the value
to the Value attribute.
C#
public OpcWriteNode(int nodeId, object value)
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.
value
Object
The data to write to the Value attribute.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
to write the value
to the attribute
.
C#
public OpcWriteNode(int nodeId, OpcAttribute attribute, object value)
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.
value
Object
The data to write to the attribute
.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
to write the value
to the Value attribute.
C#
public OpcWriteNode(OpcNodeId nodeId, object value)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will write the value
to the Value attribute.
value
Object
The data to write to 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 OpcWriteNode class using the specified nodeId
to write the value
to the attribute
.
C#
public OpcWriteNode(OpcNodeId nodeId, OpcAttribute attribute, object value)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will write the value
to 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.
value
Object
The data to write to the 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 OpcWriteNode class using the specified nodeId
and namespaceIndex
to write the value
to the Value attribute.
C#
public OpcWriteNode(string nodeId, int namespaceIndex, object value)
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.
value
Object
The data to write to the Value attribute.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
and namespaceIndex
to write the value
to the attribute
.
C#
public OpcWriteNode(string nodeId, int namespaceIndex, OpcAttribute attribute, object value)
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.
value
Object
The data to write to the attribute
.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
to write the value
to the Value attribute.
C#
public OpcWriteNode(string nodeId, object value)
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.
value
Object
The data to write to the Value attribute.
Initializes a new instance of the OpcWriteNode class using the specified nodeId
to write the value
to the attribute
.
C#
public OpcWriteNode(string nodeId, OpcAttribute attribute, object value)
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.
value
Object
The data to write to the attribute
.