NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type.IsInstanceOfType

Determines whether the specified object is an instance of the Type.

[Visual Basic]
Overridable Public Function IsInstanceOfType( _
   ByVal o As Object _
) As Boolean
[C#]
public virtual bool IsInstanceOfType(
   object o
);
[C++]
public: virtual bool IsInstanceOfType(
   Object* o
);
[JScript]
public function IsInstanceOfType(
   o : Object
) : Boolean;

Parameters

o
The Object whose type to compare with Type.

Return Value

true if o is an instance of the Type; otherwise, false.

Remarks

This method can be overridden by a derived class.

a null reference (in Visual Basic Nothing) is considered an instance of any type, therefore this method will always return true if o is a null reference (Nothing).

See Also

Type Class | Type Members | System Namespace