IsInstanceOfType Method

[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.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Public Overridable Function IsInstanceOfType ( _
	o As Object _
) As Boolean


Type: System..::..Object
The object to compare with the current type.

Return Value

Type: 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, ContainsGenericParameters returns true).

This method can be overridden by a derived class.