Skip to content

Reference

OpcTextArrayPropertyNode Members

Defines a property node for text array properties.

Reference

OpcTextArrayPropertyNode Members ​

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

Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcTextArrayPropertyNode ​

10 overloads

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

OpcTextArrayPropertyNode(OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text array property node can be accessed.

OpcTextArrayPropertyNode(OpcName, params OpcText[]) ​

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

csharp
public OpcTextArrayPropertyNode(OpcName name, params OpcText[] value)
vbnet
Public Sub New(name As OpcName, ParamArray value As OpcText())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text array property node can be accessed.
valueparams OpcText[]The initial value of the new text array property node.

OpcTextArrayPropertyNode(OpcName, OpcNodeId) ​

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

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

Parameters

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

OpcTextArrayPropertyNode(OpcName, OpcNodeId, params OpcText[]) ​

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

csharp
public OpcTextArrayPropertyNode(
    OpcName name,
    OpcNodeId id,
    params OpcText[] value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, ParamArray value As OpcText())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new text array property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text array property node can be identified and accessed.
valueparams OpcText[]The initial value of the new text array property node.

OpcTextArrayPropertyNode(IOpcNode, OpcName) ​

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

csharp
public OpcTextArrayPropertyNode(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 array property node can be accessed.

OpcTextArrayPropertyNode(IOpcNode, OpcName, params OpcText[]) ​

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

csharp
public OpcTextArrayPropertyNode(
    IOpcNode parent,
    OpcName name,
    params OpcText[] value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    ParamArray 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 array property node can be accessed.
valueparams OpcText[]The initial value of the new text array property node.

OpcTextArrayPropertyNode(IOpcNode, OpcName, OpcNodeId) ​

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

csharp
public OpcTextArrayPropertyNode(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 array property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text array property node can be identified and accessed.

OpcTextArrayPropertyNode(IOpcNode, OpcName, OpcNodeId, params OpcText[]) ​

Initializes a new instance of the OpcTextArrayPropertyNode 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 OpcTextArrayPropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    params OpcText[] value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    ParamArray 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 array property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new text array property node can be identified and accessed.
valueparams OpcText[]The initial value of the new text array property node.

OpcTextArrayPropertyNode(PropertyState<LocalizedText[]>) ​

protected · since v2.50

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

csharp
protected OpcTextArrayPropertyNode(PropertyState<LocalizedText[]> content)
vbnet
Protected Sub New(content As PropertyState(Of LocalizedText()))

Parameters

NameTypeDescription
contentPropertyState<LocalizedText[]>The PropertyState<T> to wrap.

Exceptions

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

OpcTextArrayPropertyNode(PropertyState<LocalizedText[]>, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcTextArrayPropertyNode(
    PropertyState<LocalizedText[]> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As PropertyState(Of LocalizedText()),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentPropertyState<LocalizedText[]>The PropertyState<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 ​

ReadTextPropertyValueCallback ​

Gets or sets a callback used to read the text array property value.

csharp
public OpcReadTextArrayPropertyValueCallback ReadTextPropertyValueCallback { get; set; }
vbnet
Public Property ReadTextPropertyValueCallback As OpcReadTextArrayPropertyValueCallback

Property value

OpcReadTextArrayPropertyValueCallback

A OpcReadTextArrayPropertyValueCallback used to read the text array property value as the type OpcText. The value can also be a null reference (Nothing in Visual Basic).

Remarks

This callback is used in call chain with the ReadPropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).

Value ​

Gets or sets the value of the property node.

csharp
public OpcText[] Value { get; set; }
vbnet
Public Property Value As OpcText()

Property value

OpcText[]

A array of OpcText objects representing the value of the property node. This can be also a null reference (Nothing in Visual Basic).

WriteTextArrayPropertyValueCallback ​

Gets or sets a callback used to write the text array property value.

csharp
public OpcWriteTextArrayPropertyValueCallback WriteTextArrayPropertyValueCallback { get; set; }
vbnet
Public Property WriteTextArrayPropertyValueCallback As OpcWriteTextArrayPropertyValueCallback

Property value

OpcWriteTextArrayPropertyValueCallback

A OpcWriteTextArrayPropertyValueCallback used to write the text array property value as the type OpcText. The value can also be a null reference (Nothing in Visual Basic).

Remarks

This callback is used in call chain with the WritePropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).

Methods ​

ReadPropertyValueCore ​

protected · override

Reads the value of the property node using the context and value information specified.

csharp
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(
    OpcReadPropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected NotOverridable Overrides Function ReadPropertyValueCore(
    context As OpcReadPropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)

Parameters

NameTypeDescription
contextOpcReadPropertyValueContextThe OpcReadPropertyValueContext to use to read the property node value.
valueOpcPropertyValue<Object>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<Object>

The OpcPropertyValue<T> read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.

Overrides

ReadPropertyValueCore

ReadTextArrayPropertyValueCore ​

protected · virtual

Reads the text array value of the property node using the context and value information specified.

csharp
protected virtual OpcPropertyValue<OpcText[]> ReadTextArrayPropertyValueCore(
    OpcReadPropertyValueContext<OpcTextArrayPropertyNode> context,
    OpcPropertyValue<OpcText[]> value)
vbnet
Protected Overridable Function ReadTextArrayPropertyValueCore(
    context As OpcReadPropertyValueContext(Of OpcTextArrayPropertyNode),
    value As OpcPropertyValue(Of OpcText())) As OpcPropertyValue(Of OpcText())

Parameters

NameTypeDescription
contextOpcReadPropertyValueContext<OpcTextArrayPropertyNode>The OpcReadPropertyValueContext<T> to use to read the property node value.
valueOpcPropertyValue<OpcText[]>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<OpcText[]>

The OpcPropertyValue<T> read using the ReadTextPropertyValueCallback or the value if there is no custom callback routine defined.

ReadTextArrayValue ​

Reads the text array value of the property node.

csharp
public OpcText[] ReadTextArrayValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadTextArrayValue(
    context As OpcReadVariableValueContext) As OpcText()

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use when reading the value.

Returns

OpcText[]

The OpcText array value of the text array property node read.

Exceptions

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

WritePropertyValueCore ​

protected · override

Writes the value of the property node using the context and value information specified.

csharp
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(
    OpcWritePropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected NotOverridable Overrides Function WritePropertyValueCore(
    context As OpcWritePropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)

Parameters

NameTypeDescription
contextOpcWritePropertyValueContextThe OpcWritePropertyValueContext to use to write the property node value.
valueOpcPropertyValue<Object>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<Object>

The OpcPropertyValue<T> written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.

Overrides

WritePropertyValueCore

WriteTextArrayPropertyValueCore ​

protected · virtual

Writes the text array value of the property node using the context and value information specified.

csharp
protected virtual OpcPropertyValue<OpcText[]> WriteTextArrayPropertyValueCore(
    OpcWritePropertyValueContext<OpcTextArrayPropertyNode> context,
    OpcPropertyValue<OpcText[]> value)
vbnet
Protected Overridable Function WriteTextArrayPropertyValueCore(
    context As OpcWritePropertyValueContext(Of OpcTextArrayPropertyNode),
    value As OpcPropertyValue(Of OpcText())) As OpcPropertyValue(Of OpcText())

Parameters

NameTypeDescription
contextOpcWritePropertyValueContext<OpcTextArrayPropertyNode>The OpcWritePropertyValueContext<T> to use to write the property node value.
valueOpcPropertyValue<OpcText[]>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<OpcText[]>

The OpcPropertyValue<T> written using the WriteTextArrayPropertyValueCallback or the value if there is no custom callback routine defined.

WriteTextValue ​

Writes the value of the property node specified by value.

csharp
public void WriteTextValue(
    OpcWriteVariableValueContext context,
    params OpcText[] value)
vbnet
Public Sub WriteTextValue(
    context As OpcWriteVariableValueContext,
    ParamArray value As OpcText())

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use when writing the value.
valueparams OpcText[]The OpcText array value of the text property node to write.

Exceptions

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