Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTextVariableNode type exposes the following members.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
specified as a child node of the parent
node given.
C#
public OpcTextVariableNode(IOpcNode parent, OpcName name)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new text variable node can be accessed.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
and id
specified as a child node of the parent
node given.
C#
public OpcTextVariableNode(IOpcNode parent, OpcName name, OpcNodeId id)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new text variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new text variable node can be identified and accessed.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
and id
specified with the initial value defined by value
as a child node of the parent
node given.
C#
public OpcTextVariableNode(IOpcNode parent, OpcName name, OpcNodeId id, OpcText value)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new text variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new text variable node can be identified and accessed.
value
OpcText
The initial value of the new text variable node.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
specified with the initial value defined by value
as a child node of the parent
node given.
C#
public OpcTextVariableNode(IOpcNode parent, OpcName name, OpcText value)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new text variable node can be accessed.
value
OpcText
The initial value of the new text variable node.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
specified.
C#
public OpcTextVariableNode(OpcName name)
Parameters
name
OpcName
The OpcName through that the new text variable node can be accessed.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
and id
specified.
C#
public OpcTextVariableNode(OpcName name, OpcNodeId id)
Parameters
name
OpcName
The OpcName through that the new text variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new text variable node can be identified and accessed.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
and id
specified with the initial value given by value
.
C#
public OpcTextVariableNode(OpcName name, OpcNodeId id, OpcText value)
Parameters
name
OpcName
The OpcName through that the new text variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new text variable node can be identified and accessed.
value
OpcText
The initial value of the new text variable node.
Initializes a new instance of the OpcTextVariableNode class accessible by the name
specified with the initial value given by value
.
C#
public OpcTextVariableNode(OpcName name, OpcText value)
Parameters
name
OpcName
The OpcName through that the new text variable node can be accessed.
value
OpcText
The initial value of the new text variable node.
Reads the text variable node value using the context
specified.
C#
public OpcText ReadTextValue(OpcReadVariableValueContext context)
Parameters
context
OpcReadVariableValueContext
The OpcReadVariableValueContext to use to read the text variable node value.
Returns
The OpcText variable node value associated with this node and read using the context
specified. This can also be a null reference (Nothing in Visual Basic).
Exceptions
The context
is a null reference (Nothing in Visual Basic).
Writes the value
to the text variable node value using the context
specified.
C#
public void WriteTextValue(OpcWriteVariableValueContext context, OpcText value)
Parameters
context
OpcWriteVariableValueContext
The OpcWriteVariableValueContext to use to write the text variable node value
specified.
value
OpcText
The OpcText to write to the text variable node value.
Exceptions
The context
is a null reference (Nothing in Visual Basic).