Skip to content

Reference

OpcClient.IsSubtypeOf Method

Determines whether the type identified by subtypeId derives from the type specified by typeId.

Reference

OpcClient.IsSubtypeOf Method ​

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

since v2.19

Determines whether the type identified by subtypeId derives from the type specified by typeId.

csharp
public bool IsSubtypeOf(OpcNodeId subtypeId, OpcNodeId typeId)
vbnet
Public Function IsSubtypeOf(
    subtypeId As OpcNodeId,
    typeId As OpcNodeId) As Boolean

Parameters

NameTypeDescription
subtypeIdOpcNodeIdThe OpcNodeId of the type to compare with the type identified by typeId.
typeIdOpcNodeIdThe OpcNodeId of the type to compare with the subtype identified by subtypeId.

Returns

Boolean

The value true if the type identified by the subtypeId derives from the type identified by typeId; otherwise the value false. This method also returns false if typeId and subtypeId refer to the same type.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe subtypeId or typeId is a null reference (Nothing in Visual Basic).
LicenseExceptionThe license is expired.
ObjectDisposedExceptionThe object has been disposed of.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details.