Visual Basic (Usage) | ![]() |
---|---|
Dim instance As InstanceStateSnapshot Dim context As FilterContext Dim typeDefinitionId As NodeId Dim value As Boolean value = instance.IsTypeOf(context, typeDefinitionId) |
C# | |
---|---|
public bool IsTypeOf( FilterContext context, NodeId typeDefinitionId ) |
Parameters
- context
- The context to use when checking the type definition.
- typeDefinitionId
- The type of the instance.
Return Value
True if the object is an instance of the specified type.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x