OpcTypeNodeInfo Members

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

BaseType

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

C#

public OpcTypeNodeInfo BaseType { get; }


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.

C#

public OpcNodeId BaseTypeId { get; }


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.

C#

public bool IsAbstract { get; }


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.

C#

public bool IsEnum { get; }


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.

C#

public bool IsSystemType { get; }


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.

C#

public OpcDataType UnderlyingType { get; }


Property Value

OpcDataType

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

GetEnumMembers()

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

C#

public OpcEnumMember[] GetEnumMembers()


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.

C#

public OpcNodeId[] GetSubTypeIds()


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.

C#

public OpcTypeNodeInfo[] GetSubTypes()


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(OpcNodeId)

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

C#

public bool IsSubTypeOf(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The 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

ArgumentNullException

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