[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the specified object is an instance of the current Type.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function IsInstanceOfType ( _ o As Object _ ) As Boolean
- Type: System..::..Object
The object to compare with the current type.
Return ValueType: System..::..Boolean
true if the current Type is in the inheritance hierarchy of the object represented by o, or if the current Type is an interface that o supports. false if neither of these conditions is the case, or if o is nullNothingnullptrunita null reference (Nothing in Visual Basic), or if the current Type is an open generic type (that is, returns true).
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.