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
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 BooleanParameters
| Name | Type | Description |
|---|---|---|
subtypeId | OpcNodeId | The OpcNodeId of the type to compare with the type identified by typeId. |
typeId | OpcNodeId | The OpcNodeId of the type to compare with the subtype identified by subtypeId. |
Returns
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
| Exception | Condition |
|---|---|
| Argument | The subtypeId or typeId is a null reference ( |
| LicenseException | The license is expired. |
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. |

