Skip to content

Reference

OpcDataTypeNode Members

Defines a data type node.

Reference

OpcDataTypeNode Members ​

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

Inherits members from OpcTypeNode, OpcNode.

Properties ​

TypeInfo ​

Gets the type information of the data type represented by the node.

csharp
public OpcDataTypeInfo TypeInfo { get; }
vbnet
Public ReadOnly Property TypeInfo As OpcDataTypeInfo

Property value

OpcDataTypeInfo

The OpcDataTypeInfo of the data type, or a null reference (Nothing in Visual Basic) until the node has been created by its node manager or if no type information could be created for the data type.

Methods ​

Create ​

static · 7 overloads

OverloadDescription
Create<T>()static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by T.
Create(Type)static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by dataType.
Create(IOpcDataTypeBuilder)static · since v2.53Creates a new OpcDataTypeNode used to represent the data type defined at runtime by the builder specified.
Create<T>(OpcNodeId)static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by T which can be identified by the id.
Create(Type, OpcNodeId)static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by dataType which can be identified by the id.
Create<T>(OpcNodeId, OpcName)static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by T which can be identified by the id and name.
Create(Type, OpcNodeId, OpcName)static · since v2.14Creates a new OpcDataTypeNode used to represent the type specified by dataType which can be identified by the id and name.

Create<T>() ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by T.

csharp
public static OpcDataTypeNode Create<T>()
vbnet
Public Shared Function Create(Of T)() As OpcDataTypeNode

Type parameters

NameDescription
TThe type of data to represent.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the T specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe T is not a supported data type.

Create(Type) ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by dataType.

csharp
public static OpcDataTypeNode Create(Type dataType)
vbnet
Public Shared Function Create(dataType As Type) As OpcDataTypeNode

Parameters

NameTypeDescription
dataTypeTypeThe type of data to represent.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the dataType specified.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe dataType is a null reference (Nothing in Visual Basic).
ArgumentExceptionThe dataType specified is not a supported data type.

Create(IOpcDataTypeBuilder) ​

static · since v2.53

Creates a new OpcDataTypeNode used to represent the data type defined at runtime by the builder specified.

csharp
public static OpcDataTypeNode Create(IOpcDataTypeBuilder builder)
vbnet
Public Shared Function Create(builder As IOpcDataTypeBuilder) As OpcDataTypeNode

Parameters

NameTypeDescription
builderIOpcDataTypeBuilderThe IOpcDataTypeBuilder which defines the data type, e.g. an OpcStruct or OpcEnum.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode identified by the Id and named by the Name of the builder.

Exceptions

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

Remarks

The builder creates the type information when the node is created by its node manager (see TypeInfo).

Create<T>(OpcNodeId) ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by T which can be identified by the id.

csharp
public static OpcDataTypeNode Create<T>(OpcNodeId id)
vbnet
Public Shared Function Create(Of T)(id As OpcNodeId) As OpcDataTypeNode

Type parameters

NameDescription
TThe type of data to represent.

Parameters

NameTypeDescription
idOpcNodeIdThe OpcNodeId through that the new data type node can be identified and accessed.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the T repecting the id specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe T is not a supported data type.

Create(Type, OpcNodeId) ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by dataType which can be identified by the id.

csharp
public static OpcDataTypeNode Create(Type dataType, OpcNodeId id)
vbnet
Public Shared Function Create(
    dataType As Type,
    id As OpcNodeId) As OpcDataTypeNode

Parameters

NameTypeDescription
dataTypeTypeThe type of data to represent.
idOpcNodeIdThe OpcNodeId through that the new data type node can be identified and accessed.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the dataType repecting the id specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe dataType specified is not a supported data type.
ArgumentNullExceptionThe dataType is a null reference (Nothing in Visual Basic).

Create<T>(OpcNodeId, OpcName) ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by T which can be identified by the id and name.

csharp
public static OpcDataTypeNode Create<T>(OpcNodeId id, OpcName name)
vbnet
Public Shared Function Create(Of T)(
    id As OpcNodeId,
    name As OpcName) As OpcDataTypeNode

Type parameters

NameDescription
TThe type of data to represent.

Parameters

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

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the T repecting the id and name specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe T is not a supported data type.

Create(Type, OpcNodeId, OpcName) ​

static · since v2.14

Creates a new OpcDataTypeNode used to represent the type specified by dataType which can be identified by the id and name.

csharp
public static OpcDataTypeNode Create(Type dataType, OpcNodeId id, OpcName name)
vbnet
Public Shared Function Create(
    dataType As Type,
    id As OpcNodeId,
    name As OpcName) As OpcDataTypeNode

Parameters

NameTypeDescription
dataTypeTypeThe type of data to represent.
idOpcNodeIdThe OpcNodeId through that the new data type node can be identified and accessed.
nameOpcNameThe OpcName through that the new data type node can be accessed.

Returns

OpcDataTypeNode

A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the dataType repecting the id and name specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe dataType specified is not a supported data type.
ArgumentNullExceptionThe dataType is a null reference (Nothing in Visual Basic).