OpcWriteNode Members

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

OpcWriteNode(Int32, Int32, Object)

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.

OpcWriteNode(Int32, Int32, OpcAttribute, Object)

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.

OpcWriteNode(Int32, Object)

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.

OpcWriteNode(Int32, OpcAttribute, Object)

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.

OpcWriteNode(OpcNodeId, Object)

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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

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

OpcWriteNode(OpcNodeId, OpcAttribute, Object)

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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

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

OpcWriteNode(String, Int32, Object)

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.

OpcWriteNode(String, Int32, OpcAttribute, Object)

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.

OpcWriteNode(String, Object)

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.

OpcWriteNode(String, OpcAttribute, Object)

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.

Value

Gets the data which is to be written by the service to a specific attribute of a specific node.

C#

public OpcValue Value { get; }


Property Value

OpcValue

The OpcValue representing the container for the non-OpcValue data used to initialize this command; otherwise the OpcValue to write.