Reference
OpcPropertyNode Members
Defines a generic property node.
Reference
OpcPropertyNode<T> Members
- Type
- OpcPropertyNode<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcPropertyNode
| Overload | Description |
|---|---|
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified with the initial value given by value. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified with the initial value given by value. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified with the initial value defined by value as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified with the initial value defined by value as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<content as the instance to wrap. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<content as the instance to wrap. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified with the initial value given by value. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified with the initial value given by value. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name specified with the initial value defined by value as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<name and id specified as a child node of the parent node given. |
| OpcPropertyNode( | Initializes a new instance of the OpcPropertyNode<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<T> class accessible by the name specified.
public OpcPropertyNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new property node can be accessed. |
OpcPropertyNode(OpcName, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified with the initial value given by value.
public OpcPropertyNode(OpcName name, T value)Public Sub New(name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new property node can be accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified.
public OpcPropertyNode(OpcName name, OpcNodeId id)Public Sub New(name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
OpcPropertyNode(OpcName, OpcNodeId, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified with the initial value given by value.
public OpcPropertyNode(OpcName name, OpcNodeId id, T value)Public Sub New(name As OpcName, id As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(IOpcNode, OpcName)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified as a child node of the parent node given.
public OpcPropertyNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
OpcPropertyNode(IOpcNode, OpcName, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcPropertyNode(IOpcNode parent, OpcName name, T value)Public Sub New(parent As IOpcNode, name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified as a child node of the parent node given.
public OpcPropertyNode(IOpcNode parent, OpcName name, OpcNodeId id)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
OpcPropertyNode(IOpcNode, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
public OpcPropertyNode(IOpcNode parent, OpcName name, OpcNodeId id, T value)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(PropertyState<T>)
Initializes a new instance of the OpcPropertyNode<T> class using the content as the instance to wrap.
protected OpcPropertyNode(PropertyState<T> content)Protected Sub New(content As PropertyState(Of T))Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState< | The PropertyState< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcPropertyNode(PropertyState<T>, OpcNodeModel)
Initializes a new instance of the OpcPropertyNode<T> class using the content as the instance to wrap.
protected OpcPropertyNode(PropertyState<T> content, OpcNodeModel model)Protected Sub New(content As PropertyState(Of T), model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState< | The PropertyState< |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcPropertyNode(OpcNodeModel, OpcName)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified.
protected OpcPropertyNode(OpcNodeModel model, OpcName name)Protected Sub New(model As OpcNodeModel, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
OpcPropertyNode(OpcNodeModel, OpcName, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified with the initial value given by value.
protected OpcPropertyNode(OpcNodeModel model, OpcName name, T value)Protected Sub New(model As OpcNodeModel, name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(OpcNodeModel, OpcName, OpcNodeId)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified.
protected OpcPropertyNode(OpcNodeModel model, OpcName name, OpcNodeId id)Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
OpcPropertyNode(OpcNodeModel, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified with the initial value given by value.
protected OpcPropertyNode(
OpcNodeModel model,
OpcName name,
OpcNodeId id,
T value)Protected Sub New(
model As OpcNodeModel,
name As OpcName,
id As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified as a child node of the parent node given.
protected OpcPropertyNode(OpcNodeModel model, IOpcNode parent, OpcName name)Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
protected OpcPropertyNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
T value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
value | T | The initial value of the new property node. |
OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified as a child node of the parent node given.
protected OpcPropertyNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
OpcPropertyNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcPropertyNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
protected OpcPropertyNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id,
T value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new property node can be identified and accessed. |
value | T | The initial value of the new property node. |
Properties
DataType
Gets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types.
public override OpcDataType DataType { get; set; }Public Overrides Property DataType As OpcDataTypeProperty value
One of the members defined by the OpcDataType enumeration.
Overrides
ReadPropertyGenericValueCallback
Gets or sets a callback used to read the property generic value.
public OpcReadPropertyValueCallback<T> ReadPropertyGenericValueCallback { get; set; }Public Property ReadPropertyGenericValueCallback As OpcReadPropertyValueCallback(Of T)Property value
OpcReadPropertyValueCallback<T>
A OpcReadPropertyValueCallback<T> used to read the property value as the type defined by T. 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.
public T Value { get; set; }Public Property Value As TProperty value
T
A T representing the value of the property node. This can be also a null reference (Nothing in Visual Basic).
WritePropertyGenericValueCallback
Gets or sets a callback used to write the property generic value.
public OpcWritePropertyValueCallback<T> WritePropertyGenericValueCallback { get; set; }Public Property WritePropertyGenericValueCallback As OpcWritePropertyValueCallback(Of T)Property value
OpcWritePropertyValueCallback<T>
A OpcWritePropertyValueCallback<T> used to write the property value as the type defined by T. 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
InitializeDefaults
Initializes the default values used by the OpcPropertyNode<T>.
protected override void InitializeDefaults()Protected Overrides Sub InitializeDefaults()Overrides
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.
ReadGenericValue
Reads the property node value using the context specified.
public T ReadGenericValue(OpcReadVariableValueContext context)Public Function ReadGenericValue(context As OpcReadVariableValueContext) As TParameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
Returns
T
The T property node value associated with this node and read using the context specified. This can also be a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
ReadPropertyGenericValueCore
Reads the value of the property node using the context and value information specified.
protected virtual OpcPropertyValue<T> ReadPropertyGenericValueCore(
OpcReadPropertyValueContext<OpcPropertyNode<T>> context,
OpcPropertyValue<T> value)Protected Overridable Function ReadPropertyGenericValueCore(
context As OpcReadPropertyValueContext(Of OpcPropertyNode(Of T)),
value As OpcPropertyValue(Of T)) As OpcPropertyValue(Of T)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue< | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> read using the ReadPropertyGenericValueCallback or the value if there is no custom callback routine defined.
ReadPropertyValueCore
Reads the value of the property node using the context and value information specified.
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(
OpcReadPropertyValueContext context,
OpcPropertyValue<object> value)Protected NotOverridable Overrides Function ReadPropertyValueCore(
context As OpcReadPropertyValueContext,
value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<Object> | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.
Overrides
WriteGenericValue
Writes the value to the property node value using the context specified.
public void WriteGenericValue(OpcWriteVariableValueContext context, T value)Public Sub WriteGenericValue(
context As OpcWriteVariableValueContext,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opcvalue specified. |
value | T | The T to write to the property node value. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
WritePropertyGenericValueCore
Writes the value of the property node using the context and value information specified.
protected virtual OpcPropertyValue<T> WritePropertyGenericValueCore(
OpcWritePropertyValueContext<OpcPropertyNode<T>> context,
OpcPropertyValue<T> value)Protected Overridable Function WritePropertyGenericValueCore(
context As OpcWritePropertyValueContext(Of OpcPropertyNode(Of T)),
value As OpcPropertyValue(Of T)) As OpcPropertyValue(Of T)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue< | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> written using the WritePropertyGenericValueCallback or the value if there is no custom callback routine defined.
WritePropertyValueCore
Writes the value of the property node using the context and value information specified.
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(
OpcWritePropertyValueContext context,
OpcPropertyValue<object> value)Protected NotOverridable Overrides Function WritePropertyValueCore(
context As OpcWritePropertyValueContext,
value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<Object> | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.
Overrides

