Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataTypeNode type exposes the following members.
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.
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
A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the dataType
specified.
Exceptions
The dataType
is a null reference (Nothing in Visual Basic).
The dataType
specified is not a supported data type.
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
A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the dataType
repecting the id
specified.
Exceptions
The dataType
specified is not a supported data type.
The dataType
is a null reference (Nothing in Visual Basic).
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
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
The dataType
specified is not a supported data type.
The dataType
is a null reference (Nothing in Visual Basic).
Creates a new OpcDataTypeNode used to represent the type specified by T
.
C#
public static OpcDataTypeNode Create<T>()
Returns
A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the T
specified.
Exceptions
The T
is not a supported data type.
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
A new instance of the OpcDataTypeNode initialized with defaults determined by the global data type system and the T
repecting the id
specified.
Exceptions
The T
is not a supported data type.
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
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
The T
is not a supported data type.