Skip to content

Reference

OpcTypeNodeInfo Members

Provides properties and methods for the examination of the attributes and references of a node which is classified as DataType, ObjectType or VariableType.

Reference

OpcTypeNodeInfo Members ​

Type
OpcTypeNodeInfo
Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcNodeInfo.

Properties ​

BaseType ​

Gets the OpcNodeInfo about the immediate super type node of the type node represented.

csharp
public OpcTypeNodeInfo BaseType { get; }
vbnet
Public ReadOnly Property BaseType As OpcTypeNodeInfo

Property value

OpcTypeNodeInfo

An instance of the OpcNodeInfo of the immediate super type node of the type node represented, if present; otherwise a null reference (Nothing in Visual Basic) in case there is no super type node available.

Remarks

The time consumed by the first call of the property depends on the availability of the server, because of the base type node is requested on-demand and is cached for subsequent calls. This means, that further base type requests will take use of already retrieved base type information and will not demand additional network resources.

BaseTypeId ​

Gets the OpcNodeId about the immediate super type node of the type node represented.

csharp
public OpcNodeId BaseTypeId { get; }
vbnet
Public ReadOnly Property BaseTypeId As OpcNodeId

Property value

OpcNodeId

An instance of the OpcNodeId of the immediate super type node of the type node represented, if present; otherwise a null reference (Nothing in Visual Basic) in this case there is no super type node available.

Remarks

The time consumed by the first call of the property depends on the availability of the server, because of the base type node identifier is requested on-demand and is cached for subsequent calls. This means, that further base type identifier requests will take use of already retrieved base type identifier information and will not demand additional network resources.

IsAbstract ​

Gets a value indicating whether the type represented can be instantiated directly.

csharp
public bool IsAbstract { get; }
vbnet
Public ReadOnly Property IsAbstract As Boolean

Property value

Boolean

The value true if the type represented can be instantiated directly; otherwise the value false.

Remarks

The time consumed by the first call of the property depends on the availability of the server, because of the IsAbstract attribute is requested on-demand and is cached for subsequent calls. This means, that further IsAbstract attribute requests will take use of already retrieved attribute information and will not demand additional network resources.

IsEnum ​

Gets a value indicating whether the type represented is an enumeration.

csharp
public bool IsEnum { get; }
vbnet
Public ReadOnly Property IsEnum As Boolean

Property value

Boolean

The value true if the type is an enumeration; otherwise the value false.

IsSystemType ​

Gets a value indicating whether the type represented is one of the predefined built-in data types defined by the OPC UA.

csharp
public bool IsSystemType { get; }
vbnet
Public ReadOnly Property IsSystemType As Boolean

Property value

Boolean

The value true if the type node represented is a built-in type; otherwise the value false.

UnderlyingType ​

Gets the underlying built-in data type definition of the node type represented.

csharp
public OpcDataType UnderlyingType { get; }
vbnet
Public ReadOnly Property UnderlyingType As OpcDataType

Property value

OpcDataType

One of the members defined by the OpcDataType enumeration which defines the underlying data type of type node represented.

Methods ​

GetEnumMembers ​

Retrieves all the enumeration members defined by the data type node.

csharp
public OpcEnumMember[] GetEnumMembers()
vbnet
Public Function GetEnumMembers() As OpcEnumMember()

Returns

OpcEnumMember[]

An array of OpcEnumMember instances which define the enumeration member information provided by a "EnumStrings" or "EnumValues" property node of the data type node. If the data type is not an enumerated type (IsEnum is equals false) a null reference (Nothing in Visual Basic).

GetSubTypeIds ​

Retrieves for each sub type node of the type node represented the canonical identifiers.

csharp
public OpcNodeId[] GetSubTypeIds()
vbnet
Public Function GetSubTypeIds() As OpcNodeId()

Returns

OpcNodeId[]

An array of OpcNodeId instances containing the canonical identifier of each sub type node referencing the type node represented as its super type node.

Remarks

The time consumed by the first call of the method depends on the availability of the server, because of the node identifiers are requested on-demand and are cached for subsequent calls. This means, that further sub type identifier requests will take use of already retrieved sub type information and will not demand additional network resources.

GetSubTypes ​

Retrieves for each sub type node of the type node represented an instance of the OpcTypeNodeInfo class.

csharp
public OpcTypeNodeInfo[] GetSubTypes()
vbnet
Public Function GetSubTypes() As OpcTypeNodeInfo()

Returns

OpcTypeNodeInfo[]

An array of OpcTypeNodeInfo instances representing the sub type nodes using the type node represented as their super type node.

Remarks

The time consumed by the first call of the method depends on the availability of the server, because of the nodes are requested on-demand and are cached for subsequent calls. This means, that further sub type requests will take use of already retrieved sub type information and will not demand additional network resources.

IsSubTypeOf ​

Determines whether the current represented type node derives from the type node identified by the nodeId specified.

csharp
public bool IsSubTypeOf(OpcNodeId nodeId)
vbnet
Public Function IsSubTypeOf(nodeId As OpcNodeId) As Boolean

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the type node its super type relation to the type node represented is to be determined.

Returns

Boolean

The value true if the current type node represented derives from the type node identified by nodeId; otherwise the value false.

Exceptions

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