Reference
OpcEnumValuesPropertyNode Members
Defines a property node for enum values properties.
Reference
OpcEnumValuesPropertyNode Members
- Type
- OpcEnumValuesPropertyNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcEnumValuesPropertyNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
OpcEnumValuesPropertyNode(OpcName)
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified.
public OpcEnumValuesPropertyNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new enum values property node can be accessed. |
OpcEnumValuesPropertyNode(OpcName, OpcEnumValue[])
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified with the initial value given by value.
public OpcEnumValuesPropertyNode(OpcName name, OpcEnumValue[] value)Public Sub New(name As OpcName, value As OpcEnumValue())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new enum values property node can be accessed. |
value | OpcEnumValue[] | The initial value of the new enum values property node. |
OpcEnumValuesPropertyNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name and id specified.
public OpcEnumValuesPropertyNode(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 enum values property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new enum values property node can be identified and accessed. |
OpcEnumValuesPropertyNode(OpcName, OpcNodeId, OpcEnumValue[])
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name and id specified with the initial value given by value.
public OpcEnumValuesPropertyNode(
OpcName name,
OpcNodeId id,
OpcEnumValue[] value)Public Sub New(name As OpcName, id As OpcNodeId, value As OpcEnumValue())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new enum values property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new enum values property node can be identified and accessed. |
value | OpcEnumValue[] | The initial value of the new enum values property node. |
OpcEnumValuesPropertyNode(IOpcNode, OpcName)
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified as a child node of the parent node given.
public OpcEnumValuesPropertyNode(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 enum values property node can be accessed. |
OpcEnumValuesPropertyNode(IOpcNode, OpcName, OpcEnumValue[])
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcEnumValuesPropertyNode(
IOpcNode parent,
OpcName name,
OpcEnumValue[] value)Public Sub New(parent As IOpcNode, name As OpcName, value As OpcEnumValue())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 enum values property node can be accessed. |
value | OpcEnumValue[] | The initial value of the new enum values property node. |
OpcEnumValuesPropertyNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name and id specified as a child node of the parent node given.
public OpcEnumValuesPropertyNode(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 enum values property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new enum values property node can be identified and accessed. |
OpcEnumValuesPropertyNode(IOpcNode, OpcName, OpcNodeId, OpcEnumValue[])
Initializes a new instance of the OpcEnumValuesPropertyNode 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 OpcEnumValuesPropertyNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
OpcEnumValue[] value)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As OpcEnumValue())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 enum values property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new enum values property node can be identified and accessed. |
value | OpcEnumValue[] | The initial value of the new enum values property node. |
OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>)
Initializes a new instance of the OpcEnumValuesPropertyNode class using the content as the instance to wrap.
protected OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]> content)Protected Sub New(content As PropertyState(Of EnumValueType()))Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState<EnumValueType[]> | The PropertyState< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>, OpcNodeModel)
Initializes a new instance of the OpcEnumValuesPropertyNode class using the content as the instance to wrap.
protected OpcEnumValuesPropertyNode(
PropertyState<EnumValueType[]> content,
OpcNodeModel model)Protected Sub New(
content As PropertyState(Of EnumValueType()),
model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState<EnumValueType[]> | 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 ( |
Properties
ReadEnumValuesPropertyValueCallback
Gets or sets a callback used to read the enum values property value.
public OpcReadEnumValuesPropertyValueCallback ReadEnumValuesPropertyValueCallback { get; set; }Public Property ReadEnumValuesPropertyValueCallback As OpcReadEnumValuesPropertyValueCallbackProperty value
OpcReadEnumValuesPropertyValueCallback
A OpcReadEnumValuesPropertyValueCallback used to read the enum values property value as the type OpcEnumValue. 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 OpcEnumValue[] Value { get; set; }Public Property Value As OpcEnumValue()Property value
An array of OpcEnumValue instances representing the value of the property node. This can be also a null reference (Nothing in Visual Basic).
WriteEnumValuesPropertyValueCallback
Gets or sets a callback used to write the enum values property value.
public OpcWriteEnumValuesPropertyValueCallback WriteEnumValuesPropertyValueCallback { get; set; }Public Property WriteEnumValuesPropertyValueCallback As OpcWriteEnumValuesPropertyValueCallbackProperty value
OpcWriteEnumValuesPropertyValueCallback
A OpcWriteEnumValuesPropertyValueCallback used to write the enum values property value as the type OpcEnumValue. 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
ReadEnumValues
Reads the enum values of the property node.
public OpcEnumValue[] ReadEnumValues(OpcReadVariableValueContext context)Public Function ReadEnumValues(
context As OpcReadVariableValueContext) As OpcEnumValue()Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
Returns
An array of OpcEnumValue values of the enum values property node read.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
ReadEnumValuesPropertyValueCore
Reads the enum values of the property node using the context and value information specified.
protected virtual OpcPropertyValue<OpcEnumValue[]> ReadEnumValuesPropertyValueCore(
OpcReadPropertyValueContext<OpcEnumValuesPropertyNode> context,
OpcPropertyValue<OpcEnumValue[]> value)Protected Overridable Function ReadEnumValuesPropertyValueCore(
context As OpcReadPropertyValueContext(Of OpcEnumValuesPropertyNode),
value As OpcPropertyValue(Of OpcEnumValue())) As OpcPropertyValue(Of OpcEnumValue())Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<OpcEnumValue[]> | The OpcPropertyValue< |
Returns
OpcPropertyValue<OpcEnumValue[]>
The OpcPropertyValue<T> read using the ReadEnumValuesPropertyValueCallback 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
WriteEnumValues
Writes the value of the property node specified by value.
public void WriteEnumValues(
OpcWriteVariableValueContext context,
OpcEnumValue[] value)Public Sub WriteEnumValues(
context As OpcWriteVariableValueContext,
value As OpcEnumValue())Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcEnumValue[] | An array of OpcEnumValue values of the enum value property node to write. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
WriteEnumValuesPropertyValueCore
Writes the enum values of the property node using the context and value information specified.
protected virtual OpcPropertyValue<OpcEnumValue[]> WriteEnumValuesPropertyValueCore(
OpcWritePropertyValueContext<OpcEnumValuesPropertyNode> context,
OpcPropertyValue<OpcEnumValue[]> value)Protected Overridable Function WriteEnumValuesPropertyValueCore(
context As OpcWritePropertyValueContext(Of OpcEnumValuesPropertyNode),
value As OpcPropertyValue(Of OpcEnumValue())) As OpcPropertyValue(Of OpcEnumValue())Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<OpcEnumValue[]> | The OpcPropertyValue< |
Returns
OpcPropertyValue<OpcEnumValue[]>
The OpcPropertyValue<T> written using the WriteEnumValuesPropertyValueCallback 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

