Skip to content

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 ​

10 overloads

OverloadDescription
OpcEnumValuesPropertyNode(OpcName)Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified.
OpcEnumValuesPropertyNode(OpcName, OpcEnumValue[])Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name specified with the initial value given by value.
OpcEnumValuesPropertyNode(OpcName, OpcNodeId)Initializes a new instance of the OpcEnumValuesPropertyNode class accessible by the name and id specified.
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.
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.
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.
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.
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.
OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>)protectedInitializes a new instance of the OpcEnumValuesPropertyNode class using the content as the instance to wrap.
OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>, OpcNodeModel)protectedInitializes a new instance of the OpcEnumValuesPropertyNode class using the content as the instance to wrap.

OpcEnumValuesPropertyNode(OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe 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.

csharp
public OpcEnumValuesPropertyNode(OpcName name, OpcEnumValue[] value)
vbnet
Public Sub New(name As OpcName, value As OpcEnumValue())

Parameters

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

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

Parameters

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

csharp
public OpcEnumValuesPropertyNode(
    OpcName name,
    OpcNodeId id,
    OpcEnumValue[] value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As OpcEnumValue())

Parameters

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

csharp
public OpcEnumValuesPropertyNode(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 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.

csharp
public OpcEnumValuesPropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcEnumValue[] value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As OpcEnumValue())

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 enum values property node can be accessed.
valueOpcEnumValue[]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.

csharp
public OpcEnumValuesPropertyNode(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 enum values property node can be accessed.
idOpcNodeIdThe 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.

csharp
public OpcEnumValuesPropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcEnumValue[] value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As OpcEnumValue())

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 enum values property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new enum values property node can be identified and accessed.
valueOpcEnumValue[]The initial value of the new enum values property node.

OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>) ​

protected

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

csharp
protected OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]> content)
vbnet
Protected Sub New(content As PropertyState(Of EnumValueType()))

Parameters

NameTypeDescription
contentPropertyState<EnumValueType[]>The PropertyState<T> to wrap.

Exceptions

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

OpcEnumValuesPropertyNode(PropertyState<EnumValueType[]>, OpcNodeModel) ​

protected

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

csharp
protected OpcEnumValuesPropertyNode(
    PropertyState<EnumValueType[]> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As PropertyState(Of EnumValueType()),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentPropertyState<EnumValueType[]>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 ​

ReadEnumValuesPropertyValueCallback ​

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

csharp
public OpcReadEnumValuesPropertyValueCallback ReadEnumValuesPropertyValueCallback { get; set; }
vbnet
Public Property ReadEnumValuesPropertyValueCallback As OpcReadEnumValuesPropertyValueCallback

Property 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.

csharp
public OpcEnumValue[] Value { get; set; }
vbnet
Public Property Value As OpcEnumValue()

Property value

OpcEnumValue[]

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.

csharp
public OpcWriteEnumValuesPropertyValueCallback WriteEnumValuesPropertyValueCallback { get; set; }
vbnet
Public Property WriteEnumValuesPropertyValueCallback As OpcWriteEnumValuesPropertyValueCallback

Property 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.

csharp
public OpcEnumValue[] ReadEnumValues(OpcReadVariableValueContext context)
vbnet
Public Function ReadEnumValues(
    context As OpcReadVariableValueContext) As OpcEnumValue()

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use when reading the value.

Returns

OpcEnumValue[]

An array of OpcEnumValue values of the enum values property node read.

Exceptions

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

ReadEnumValuesPropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<OpcEnumValue[]> ReadEnumValuesPropertyValueCore(
    OpcReadPropertyValueContext<OpcEnumValuesPropertyNode> context,
    OpcPropertyValue<OpcEnumValue[]> value)
vbnet
Protected Overridable Function ReadEnumValuesPropertyValueCore(
    context As OpcReadPropertyValueContext(Of OpcEnumValuesPropertyNode),
    value As OpcPropertyValue(Of OpcEnumValue())) As OpcPropertyValue(Of OpcEnumValue())

Parameters

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

Returns

OpcPropertyValue<OpcEnumValue[]>

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

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

WriteEnumValues ​

Writes the value of the property node specified by value.

csharp
public void WriteEnumValues(
    OpcWriteVariableValueContext context,
    OpcEnumValue[] value)
vbnet
Public Sub WriteEnumValues(
    context As OpcWriteVariableValueContext,
    value As OpcEnumValue())

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use when writing the value.
valueOpcEnumValue[]An array of OpcEnumValue values of the enum value property node to write.

Exceptions

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

WriteEnumValuesPropertyValueCore ​

protected · virtual

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

csharp
protected virtual OpcPropertyValue<OpcEnumValue[]> WriteEnumValuesPropertyValueCore(
    OpcWritePropertyValueContext<OpcEnumValuesPropertyNode> context,
    OpcPropertyValue<OpcEnumValue[]> value)
vbnet
Protected Overridable Function WriteEnumValuesPropertyValueCore(
    context As OpcWritePropertyValueContext(Of OpcEnumValuesPropertyNode),
    value As OpcPropertyValue(Of OpcEnumValue())) As OpcPropertyValue(Of OpcEnumValue())

Parameters

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

Returns

OpcPropertyValue<OpcEnumValue[]>

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

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