Skip to content

Reference

OpcNamePropertyNode Members

Defines a property node for name properties.

Reference

OpcNamePropertyNode Members ​

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

Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcNamePropertyNode ​

10 overloads

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

OpcNamePropertyNode(OpcName) ​

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

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

Parameters

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

OpcNamePropertyNode(OpcName, OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new name property node can be accessed.
valueOpcNameThe initial value of the new name property node.

OpcNamePropertyNode(OpcName, OpcNodeId) ​

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

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

Parameters

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

OpcNamePropertyNode(OpcName, OpcNodeId, OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new name property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new name property node can be identified and accessed.
valueOpcNameThe initial value of the new name property node.

OpcNamePropertyNode(IOpcNode, OpcName) ​

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

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

OpcNamePropertyNode(IOpcNode, OpcName, OpcName) ​

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

csharp
public OpcNamePropertyNode(IOpcNode parent, OpcName name, OpcName value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value 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 name property node can be accessed.
valueOpcNameThe initial value of the new name property node.

OpcNamePropertyNode(IOpcNode, OpcName, OpcNodeId) ​

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

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

OpcNamePropertyNode(IOpcNode, OpcName, OpcNodeId, OpcName) ​

Initializes a new instance of the OpcNamePropertyNode 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 OpcNamePropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcName value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value 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 name property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new name property node can be identified and accessed.
valueOpcNameThe initial value of the new name property node.

OpcNamePropertyNode(PropertyState<QualifiedName>) ​

protected · since v2.50

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

csharp
protected OpcNamePropertyNode(PropertyState<QualifiedName> content)
vbnet
Protected Sub New(content As PropertyState(Of QualifiedName))

Parameters

NameTypeDescription
contentPropertyState<QualifiedName>The PropertyState<T> to wrap.

Exceptions

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

OpcNamePropertyNode(PropertyState<QualifiedName>, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcNamePropertyNode(
    PropertyState<QualifiedName> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As PropertyState(Of QualifiedName),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentPropertyState<QualifiedName>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 ​

ReadNamePropertyValueCallback ​

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

csharp
public OpcReadNamePropertyValueCallback ReadNamePropertyValueCallback { get; set; }
vbnet
Public Property ReadNamePropertyValueCallback As OpcReadNamePropertyValueCallback

Property value

OpcReadNamePropertyValueCallback

A OpcReadNamePropertyValueCallback used to read the name property value as the type OpcName. 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 OpcName Value { get; set; }
vbnet
Public Property Value As OpcName

Property value

OpcName

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

WriteNamePropertyValueCallback ​

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

csharp
public OpcWriteNamePropertyValueCallback WriteNamePropertyValueCallback { get; set; }
vbnet
Public Property WriteNamePropertyValueCallback As OpcWriteNamePropertyValueCallback

Property value

OpcWriteNamePropertyValueCallback

A OpcWriteNamePropertyValueCallback used to write the name property value as the type OpcName. 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 ​

ReadNamePropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<OpcName> ReadNamePropertyValueCore(
    OpcReadPropertyValueContext<OpcNamePropertyNode> context,
    OpcPropertyValue<OpcName> value)
vbnet
Protected Overridable Function ReadNamePropertyValueCore(
    context As OpcReadPropertyValueContext(Of OpcNamePropertyNode),
    value As OpcPropertyValue(Of OpcName)) As OpcPropertyValue(Of OpcName)

Parameters

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

Returns

OpcPropertyValue<OpcName>

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

ReadNameValue ​

Reads the name value of the property node.

csharp
public OpcName ReadNameValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadNameValue(context As OpcReadVariableValueContext) As OpcName

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use when reading the value.

Returns

OpcName

The OpcName value of the name property node read.

Exceptions

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

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

WriteNamePropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<OpcName> WriteNamePropertyValueCore(
    OpcWritePropertyValueContext<OpcNamePropertyNode> context,
    OpcPropertyValue<OpcName> value)
vbnet
Protected Overridable Function WriteNamePropertyValueCore(
    context As OpcWritePropertyValueContext(Of OpcNamePropertyNode),
    value As OpcPropertyValue(Of OpcName)) As OpcPropertyValue(Of OpcName)

Parameters

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

Returns

OpcPropertyValue<OpcName>

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

WriteNameValue ​

Writes the value of the property node specified by value.

csharp
public void WriteNameValue(OpcWriteVariableValueContext context, OpcName value)
vbnet
Public Sub WriteNameValue(
    context As OpcWriteVariableValueContext,
    value As OpcName)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use when writing the value.
valueOpcNameThe OpcName value of the name property node to write.

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