NETLink`
NETLink`

NETObjectQ

NETObjectQ[expr]

gives True if expr is a valid reference to a .NET object, and False otherwise.

Details and Options

  • To use NETObjectQ, you first need to load .NET/Link using Needs["NETLink`"].