Skip to content

Reference

OpcPropertyNode Members

Defines a property node.

Reference

OpcPropertyNode Members ​

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

Inherits members from OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcPropertyNode ​

18 overloads

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

OpcPropertyNode(OpcName) ​

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

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

Parameters

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

OpcPropertyNode(OpcName, object) ​

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

csharp
public OpcPropertyNode(OpcName name, object value)
vbnet
Public Sub New(name As OpcName, value As Object)

Parameters

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

OpcPropertyNode(OpcName, OpcNodeId) ​

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

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

Parameters

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

OpcPropertyNode(OpcName, OpcNodeId, object) ​

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

csharp
public OpcPropertyNode(OpcName name, OpcNodeId id, object value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As Object)

Parameters

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

OpcPropertyNode(IOpcNode, OpcName) ​

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

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

OpcPropertyNode(IOpcNode, OpcName, object) ​

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

csharp
public OpcPropertyNode(IOpcNode parent, OpcName name, object value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As Object)

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 property node can be accessed.
valueObjectThe initial value of the new property node.

OpcPropertyNode(IOpcNode, OpcName, OpcNodeId) ​

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

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

OpcPropertyNode(IOpcNode, OpcName, OpcNodeId, object) ​

Initializes a new instance of the OpcPropertyNode 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 OpcPropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

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 property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new property node can be identified and accessed.
valueObjectThe initial value of the new property node.

OpcPropertyNode(PropertyState) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(PropertyState content)
vbnet
Protected Sub New(content As PropertyState)

Parameters

NameTypeDescription
contentPropertyStateThe PropertyState to wrap.

Exceptions

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

OpcPropertyNode(PropertyState, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(PropertyState content, OpcNodeModel model)
vbnet
Protected Sub New(content As PropertyState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentPropertyStateThe PropertyState 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).

OpcPropertyNode(OpcNodeModel, OpcName) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(OpcNodeModel model, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName)

Parameters

NameTypeDescription
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.
nameOpcNameThe OpcName through that the new property node can be accessed.

OpcPropertyNode(OpcNodeModel, OpcName, object) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(OpcNodeModel model, OpcName name, object value)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, value As Object)

Parameters

NameTypeDescription
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.
nameOpcNameThe OpcName through that the new property node can be accessed.
valueObjectThe initial value of the new property node.

OpcPropertyNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(OpcNodeModel model, OpcName name, OpcNodeId id)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
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.
nameOpcNameThe OpcName through that the new property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new property node can be identified and accessed.

OpcPropertyNode(OpcNodeModel, OpcName, OpcNodeId, object) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
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.
nameOpcNameThe OpcName through that the new property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new property node can be identified and accessed.
valueObjectThe initial value of the new property node.

OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(OpcNodeModel model, IOpcNode parent, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
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.
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 property node can be accessed.

OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, object) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    value As Object)

Parameters

NameTypeDescription
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.
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 property node can be accessed.
valueObjectThe initial value of the new property node.

OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected · since v2.50

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

csharp
protected OpcPropertyNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
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.
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 property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new property node can be identified and accessed.

OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object) ​

protected · since v2.50

Initializes a new instance of the OpcPropertyNode 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
protected OpcPropertyNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
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.
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 property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new property node can be identified and accessed.
valueObjectThe initial value of the new property node.

Properties ​

DefaultReferenceTypeId ​

protected · override

Gets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.

csharp
protected override OpcNodeId DefaultReferenceTypeId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultReferenceTypeId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the reference wihin this OpcInstanceNode is referenced. These reference defines the typical behaviour of an instance node and its role in the address space regarding its parent. If there exists no specific reference type a null reference (Nothing in Visual Basic).

Overrides

DefaultReferenceTypeId

DefaultTypeDefinitionId ​

protected · override

Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.

csharp
protected override sealed OpcNodeId DefaultTypeDefinitionId { get; }
vbnet
Protected NotOverridable Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the type node from that this OpcInstanceNode has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).

Overrides

DefaultTypeDefinitionId

ReadPropertyValueCallback ​

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

csharp
public OpcReadPropertyValueCallback ReadPropertyValueCallback { get; set; }
vbnet
Public Property ReadPropertyValueCallback As OpcReadPropertyValueCallback

Property value

OpcReadPropertyValueCallback

A OpcReadPropertyValueCallback used to read the property value as an object. The value can also be a null reference (Nothing in Visual Basic).

Remarks

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

WritePropertyValueCallback ​

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

csharp
public OpcWritePropertyValueCallback WritePropertyValueCallback { get; set; }
vbnet
Public Property WritePropertyValueCallback As OpcWritePropertyValueCallback

Property value

OpcWritePropertyValueCallback

A OpcWritePropertyValueCallback used to write the property value as an object. The value can also be a null reference (Nothing in Visual Basic).

Remarks

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

Methods ​

ReadPropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<object> ReadPropertyValueCore(
    OpcReadPropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected Overridable 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.

ReadVariableValueCore ​

protected · override

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

csharp
protected override sealed OpcVariableValue<object> ReadVariableValueCore(
    OpcReadVariableValueContext context,
    OpcVariableValue<object> value)
vbnet
Protected NotOverridable Overrides Function ReadVariableValueCore(
    context As OpcReadVariableValueContext,
    value As OpcVariableValue(Of Object)) As OpcVariableValue(Of Object)

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use to read the variable node value.
valueOpcVariableValue<Object>The OpcVariableValue<T> containing the currently used value constructed by the value information contained in the variable node cache.

Returns

OpcVariableValue<Object>

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

Overrides

ReadVariableValueCore

WritePropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<object> WritePropertyValueCore(
    OpcWritePropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected Overridable 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.

WriteVariableValueCore ​

protected · override

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

csharp
protected override sealed OpcVariableValue<object> WriteVariableValueCore(
    OpcWriteVariableValueContext context,
    OpcVariableValue<object> value)
vbnet
Protected NotOverridable Overrides Function WriteVariableValueCore(
    context As OpcWriteVariableValueContext,
    value As OpcVariableValue(Of Object)) As OpcVariableValue(Of Object)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use to write the variable node value.
valueOpcVariableValue<Object>The OpcVariableValue<T> containing the currently used value constructed by the value information contained in the variable node cache.

Returns

OpcVariableValue<Object>

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

Overrides

WriteVariableValueCore