Skip to content

Reference

OpcTextConditionVariableNode Members

Defines a condition variable node for OpcText variables.

Reference

OpcTextConditionVariableNode Members ​

Type
OpcTextConditionVariableNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcConditionVariableNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcTextConditionVariableNode ​

10 overloads

OverloadDescription
OpcTextConditionVariableNode(OpcName)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified.
OpcTextConditionVariableNode(OpcName, OpcText)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified with the initial value given by value.
OpcTextConditionVariableNode(OpcName, OpcNodeId)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified.
OpcTextConditionVariableNode(OpcName, OpcNodeId, OpcText)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified with the initial value given by value.
OpcTextConditionVariableNode(IOpcNode, OpcName)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified as a child node of the parent node given.
OpcTextConditionVariableNode(IOpcNode, OpcName, OpcText)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcTextConditionVariableNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified as a child node of the parent node given.
OpcTextConditionVariableNode(IOpcNode, OpcName, OpcNodeId, OpcText)Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcTextConditionVariableNode(ConditionVariableState<LocalizedText>)protected · since v2.50Initializes a new instance of the OpcTextConditionVariableNode class using the content as the instance to wrap.
OpcTextConditionVariableNode(ConditionVariableState<LocalizedText>, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcTextConditionVariableNode class using the content as the instance to wrap.

OpcTextConditionVariableNode(OpcName) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified.

csharp
public OpcTextConditionVariableNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.

OpcTextConditionVariableNode(OpcName, OpcText) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified with the initial value given by value.

csharp
public OpcTextConditionVariableNode(OpcName name, OpcText value)
vbnet
Public Sub New(name As OpcName, value As OpcText)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
valueOpcTextThe initial value of the new text condition variable node.

OpcTextConditionVariableNode(OpcName, OpcNodeId) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified.

csharp
public OpcTextConditionVariableNode(OpcName name, OpcNodeId id)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text condition variable node can be identified and accessed.

OpcTextConditionVariableNode(OpcName, OpcNodeId, OpcText) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified with the initial value given by value.

csharp
public OpcTextConditionVariableNode(OpcName name, OpcNodeId id, OpcText value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As OpcText)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text condition variable node can be identified and accessed.
valueOpcTextThe initial value of the new text condition variable node.

OpcTextConditionVariableNode(IOpcNode, OpcName) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified as a child node of the parent node given.

csharp
public OpcTextConditionVariableNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.

OpcTextConditionVariableNode(IOpcNode, OpcName, OpcText) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

csharp
public OpcTextConditionVariableNode(
    IOpcNode parent,
    OpcName name,
    OpcText value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As OpcText)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
valueOpcTextThe initial value of the new text condition variable node.

OpcTextConditionVariableNode(IOpcNode, OpcName, OpcNodeId) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified as a child node of the parent node given.

csharp
public OpcTextConditionVariableNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text condition variable node can be identified and accessed.

OpcTextConditionVariableNode(IOpcNode, OpcName, OpcNodeId, OpcText) ​

Initializes a new instance of the OpcTextConditionVariableNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

csharp
public OpcTextConditionVariableNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcText value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As OpcText)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new text condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text condition variable node can be identified and accessed.
valueOpcTextThe initial value of the new text condition variable node.

OpcTextConditionVariableNode(ConditionVariableState<LocalizedText>) ​

protected · since v2.50

Initializes a new instance of the OpcTextConditionVariableNode class using the content as the instance to wrap.

csharp
protected OpcTextConditionVariableNode(
    ConditionVariableState<LocalizedText> content)
vbnet
Protected Sub New(content As ConditionVariableState(Of LocalizedText))

Parameters

NameTypeDescription
contentConditionVariableState<LocalizedText>The ConditionVariableState<T> to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcTextConditionVariableNode(ConditionVariableState<LocalizedText>, OpcNodeModel) ​

protected · since v2.50

Initializes a new instance of the OpcTextConditionVariableNode class using the content as the instance to wrap.

csharp
protected OpcTextConditionVariableNode(
    ConditionVariableState<LocalizedText> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As ConditionVariableState(Of LocalizedText),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentConditionVariableState<LocalizedText>The ConditionVariableState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

Properties ​

Value ​

Gets or sets the value of the text condition variable node.

csharp
public OpcText Value { get; set; }
vbnet
Public Property Value As OpcText

Property value

OpcText

A OpcText representing the value of the text condition variable node. This can be also a null reference (Nothing in Visual Basic).

Methods ​

InitializeDefaults ​

protected · override

Initializes the default values used by the OpcTextConditionVariableNode.

csharp
protected override void InitializeDefaults()
vbnet
Protected Overrides Sub InitializeDefaults()

Overrides

InitializeDefaults

Remarks

This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.

ReadTextValue ​

Reads the text condition variable node value using the context specified.

csharp
public OpcText ReadTextValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadTextValue(context As OpcReadVariableValueContext) As OpcText

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use to read the text condition variable node value.

Returns

OpcText

The OpcText text condition 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

ExceptionCondition
ArgumentNullExceptionThe context is a null reference (Nothing in Visual Basic).

WriteTextValue ​

Writes the value to the text condition variable node value using the context specified.

csharp
public void WriteTextValue(OpcWriteVariableValueContext context, OpcText value)
vbnet
Public Sub WriteTextValue(
    context As OpcWriteVariableValueContext,
    value As OpcText)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use to write the text condition variable node value specified.
valueOpcTextThe OpcText to write to the text condition variable node value.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context is a null reference (Nothing in Visual Basic).