gives True if netobject is an instance of the type nettype, or a subtype, and False otherwise.


  • To use InstanceOf, you first need to load .NET/Link using Needs["NETLink`"].
  • The type argument can be either the fully qualified class or interface name as a string, or a NETType expression.
  • InstanceOf mimics the behavior of the C# language's is operator.