Reference
OpcTextVariableNode Members
Defines a variable node for texts.
Reference
OpcTextVariableNode Members
- Type
- OpcTextVariableNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcDataVariableNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcTextVariableNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
OpcTextVariableNode(OpcName)
Initializes a new instance of the OpcTextVariableNode class accessible by the name specified.
public OpcTextVariableNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new text variable node can be accessed. |
OpcTextVariableNode(OpcName, OpcText)
Initializes a new instance of the OpcTextVariableNode class accessible by the name specified with the initial value given by value.
public OpcTextVariableNode(OpcName name, OpcText value)Public Sub New(name As OpcName, value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
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. |
OpcTextVariableNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcTextVariableNode class accessible by the name and id specified.
public OpcTextVariableNode(OpcName name, OpcNodeId id)Public Sub New(name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
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. |
OpcTextVariableNode(OpcName, OpcNodeId, OpcText)
Initializes a new instance of the OpcTextVariableNode class accessible by the name and id specified with the initial value given by value.
public OpcTextVariableNode(OpcName name, OpcNodeId id, OpcText value)Public Sub New(name As OpcName, id As OpcNodeId, value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
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. |
OpcTextVariableNode(IOpcNode, OpcName)
Initializes a new instance of the OpcTextVariableNode class accessible by the name specified as a child node of the parent node given.
public OpcTextVariableNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new text variable node can be accessed. |
OpcTextVariableNode(IOpcNode, OpcName, OpcText)
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.
public OpcTextVariableNode(IOpcNode parent, OpcName name, OpcText value)Public Sub New(parent As IOpcNode, name As OpcName, value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
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. |
OpcTextVariableNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcTextVariableNode class accessible by the name and id specified as a child node of the parent node given.
public OpcTextVariableNode(IOpcNode parent, OpcName name, OpcNodeId id)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
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. |
OpcTextVariableNode(IOpcNode, OpcName, OpcNodeId, OpcText)
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.
public OpcTextVariableNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
OpcText value)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
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. |
OpcTextVariableNode(BaseDataVariableState<LocalizedText>)
Initializes a new instance of the OpcTextVariableNode class using the content as the instance to wrap.
protected OpcTextVariableNode(BaseDataVariableState<LocalizedText> content)Protected Sub New(content As BaseDataVariableState(Of LocalizedText))Parameters
| Name | Type | Description |
|---|---|---|
content | Base | The Base |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcTextVariableNode(BaseDataVariableState<LocalizedText>, OpcNodeModel)
Initializes a new instance of the OpcTextVariableNode class using the content as the instance to wrap.
protected OpcTextVariableNode(
BaseDataVariableState<LocalizedText> content,
OpcNodeModel model)Protected Sub New(
content As BaseDataVariableState(Of LocalizedText),
model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | Base | The Base |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
Properties
Value
Gets or sets the value of the text variable node.
public OpcText Value { get; set; }Public Property Value As OpcTextProperty value
A OpcText representing the value of the text variable node. This can be also a null reference (Nothing in Visual Basic).
Methods
ReadTextValue
Reads the text variable node value using the context specified.
public OpcText ReadTextValue(OpcReadVariableValueContext context)Public Function ReadTextValue(context As OpcReadVariableValueContext) As OpcTextParameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
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
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
WriteTextValue
Writes the value to the text variable node value using the context specified.
public void WriteTextValue(OpcWriteVariableValueContext context, OpcText value)Public Sub WriteTextValue(
context As OpcWriteVariableValueContext,
value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opcvalue specified. |
value | OpcText | The OpcText to write to the text variable node value. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |

