OpcTextPropertyNode Members

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

OpcTextPropertyNode(IOpcNode, OpcName)

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

C#

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

OpcTextPropertyNode(IOpcNode, OpcName, OpcNodeId)

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

C#

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

id OpcNodeId

The OpcNodeId through that the new text property node can be identified and accessed.

OpcTextPropertyNode(IOpcNode, OpcName, OpcNodeId, OpcText)

Initializes a new instance of the OpcTextPropertyNode 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 OpcTextPropertyNode(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 property node can be accessed.

id OpcNodeId

The OpcNodeId through that the new text property node can be identified and accessed.

value OpcText

The initial value of the new text property node.

OpcTextPropertyNode(IOpcNode, OpcName, OpcText)

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

C#

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

value OpcText

The initial value of the new text property node.

OpcTextPropertyNode(OpcName)

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

C#

public OpcTextPropertyNode(OpcName name)


Parameters

name OpcName

The OpcName through that the new text property node can be accessed.

OpcTextPropertyNode(OpcName, OpcNodeId)

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

C#

public OpcTextPropertyNode(OpcName name, OpcNodeId id)


Parameters

name OpcName

The OpcName through that the new text property node can be accessed.

id OpcNodeId

The OpcNodeId through that the new text property node can be identified and accessed.

OpcTextPropertyNode(OpcName, OpcNodeId, OpcText)

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

C#

public OpcTextPropertyNode(OpcName name, OpcNodeId id, OpcText value)


Parameters

name OpcName

The OpcName through that the new text property node can be accessed.

id OpcNodeId

The OpcNodeId through that the new text property node can be identified and accessed.

value OpcText

The initial value of the new text property node.

OpcTextPropertyNode(OpcName, OpcText)

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

C#

public OpcTextPropertyNode(OpcName name, OpcText value)


Parameters

name OpcName

The OpcName through that the new text property node can be accessed.

value OpcText

The initial value of the new text property node.

ReadTextPropertyValueCallback

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

C#

public OpcReadTextPropertyValueCallback ReadTextPropertyValueCallback { get; set; }


Property Value

OpcReadTextPropertyValueCallback

A OpcReadTextPropertyValueCallback used to read the text 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.

C#

public OpcText Value { get; set; }


Property Value

OpcText

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

WriteTextPropertyValueCallback

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

C#

public OpcWriteTextPropertyValueCallback WriteTextPropertyValueCallback { get; set; }


Property Value

OpcWriteTextPropertyValueCallback

A OpcWriteTextPropertyValueCallback used to write the text 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).

ReadPropertyValueCore(OpcReadPropertyValueContext, OpcPropertyValue<Object>)

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

C#

protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(OpcReadPropertyValueContext context, OpcPropertyValue<object> value)


Parameters

context OpcReadPropertyValueContext

The OpcReadPropertyValueContext to use to read the property node value.

value OpcPropertyValue<Object>

The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.


Returns

OpcPropertyValue<Object>

The OpcPropertyValue´1 read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.

ReadTextPropertyValueCore(OpcReadPropertyValueContext<OpcTextPropertyNode>, OpcPropertyValue<OpcText>)

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

C#

protected virtual OpcPropertyValue<OpcText> ReadTextPropertyValueCore(OpcReadPropertyValueContext<OpcTextPropertyNode> context, OpcPropertyValue<OpcText> value)


Parameters

context OpcReadPropertyValueContext<OpcTextPropertyNode>

The OpcReadPropertyValueContext´1 to use to read the property node value.

value OpcPropertyValue<OpcText>

The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.


Returns

OpcPropertyValue<OpcText>

The OpcPropertyValue´1 read using the ReadTextPropertyValueCallback or the value if there is no custom callback routine defined.

ReadTextValue(OpcReadVariableValueContext)

Reads the text value of the property node.

C#

public OpcText ReadTextValue(OpcReadVariableValueContext context)


Parameters

context OpcReadVariableValueContext

The OpcReadVariableValueContext to use when reading the value.


Returns

OpcText

The OpcText value of the text property node read.



Exceptions

ArgumentNullException

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

WritePropertyValueCore(OpcWritePropertyValueContext, OpcPropertyValue<Object>)

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

C#

protected override sealed OpcPropertyValue<object> WritePropertyValueCore(OpcWritePropertyValueContext context, OpcPropertyValue<object> value)


Parameters

context OpcWritePropertyValueContext

The OpcWritePropertyValueContext to use to write the property node value.

value OpcPropertyValue<Object>

The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.


Returns

OpcPropertyValue<Object>

The OpcPropertyValue´1 written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.

WriteTextPropertyValueCore(OpcWritePropertyValueContext<OpcTextPropertyNode>, OpcPropertyValue<OpcText>)

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

C#

protected virtual OpcPropertyValue<OpcText> WriteTextPropertyValueCore(OpcWritePropertyValueContext<OpcTextPropertyNode> context, OpcPropertyValue<OpcText> value)


Parameters

context OpcWritePropertyValueContext<OpcTextPropertyNode>

The OpcWritePropertyValueContext´1 to use to write the property node value.

value OpcPropertyValue<OpcText>

The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.


Returns

OpcPropertyValue<OpcText>

The OpcPropertyValue´1 written using the WriteTextPropertyValueCallback or the value if there is no custom callback routine defined.

WriteTextValue(OpcWriteVariableValueContext, OpcText)

Writes the value of the property node specified by value.

C#

public void WriteTextValue(OpcWriteVariableValueContext context, OpcText value)


Parameters

context OpcWriteVariableValueContext

The OpcWriteVariableValueContext to use when writing the value.

value OpcText

The OpcText value of the text property node to write.



Exceptions

ArgumentNullException

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