NETLink`
NETLink`

InstanceOf

InstanceOf[netobject,nettype]

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.