Type.IsInstanceOfType Method
Determines whether the specified object is an instance of the current type.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute]
public virtual bool IsInstanceOfType (
Objecto
)
Parameters
- o
The object you want to compare with the current type.
Return Value
true if the current type is in the inheritance hierarchy of the object represented by the o parameter, or if the current type is an interface that o supports; false if neither of the preceding conditions is the case, or if o is a null reference.
Remarks
This method can be overridden by a derived class.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.