OpcDataTypeNode Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataTypeNode type exposes the following members.

OpcDataTypeNode(OpcNodeId, OpcName)

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

C#

protected OpcDataTypeNode(OpcNodeId id, OpcName name)


Parameters

id OpcNodeId

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

name OpcName

The OpcName through that the new data type node can be accessed.

TypeInfo

C#

public virtual OpcDataTypeInfo TypeInfo { get; }


Property Value

OpcDataTypeInfo

Create(Type)

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

C#

public static OpcDataTypeNode Create(Type dataType)


Parameters

dataType Type

The 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

ArgumentNullException

The dataType is a null reference (Nothing in Visual Basic).

ArgumentException

The dataType specified is not a supported data type.

Create(Type, OpcNodeId)

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

C#

public static OpcDataTypeNode Create(Type dataType, OpcNodeId id)


Parameters

dataType Type

The type of data to represent.

id OpcNodeId

The 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

ArgumentException

The dataType specified is not a supported data type.

ArgumentNullException

The dataType is a null reference (Nothing in Visual Basic).

Create(Type, OpcNodeId, OpcName)

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

C#

public static OpcDataTypeNode Create(Type dataType, OpcNodeId id, OpcName name)


Parameters

dataType Type

The type of data to represent.

id OpcNodeId

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

name OpcName

The 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

ArgumentException

The dataType specified is not a supported data type.

ArgumentNullException

The dataType is a null reference (Nothing in Visual Basic).

Create<T>()

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

C#

public static OpcDataTypeNode Create<T>()


Returns

OpcDataTypeNode

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



Exceptions

ArgumentException

The T is not a supported data type.

Create<T>(OpcNodeId)

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

C#

public static OpcDataTypeNode Create<T>(OpcNodeId id)


Parameters

id OpcNodeId

The 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

ArgumentException

The T is not a supported data type.

Create<T>(OpcNodeId, OpcName)

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

C#

public static OpcDataTypeNode Create<T>(OpcNodeId id, OpcName name)


Parameters

id OpcNodeId

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

name OpcName

The 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

ArgumentException

The T is not a supported data type.