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

Determines whether the current Type is a subclass of the specified class.

[Visual Basic]
Overridable Public Function IsSubclassOf( _
   ByVal c As Type _
) As Boolean
[C#]
public virtual bool IsSubclassOf(
   Type c
);
[C++]
public: virtual bool IsSubclassOf(
   Type* c
);
[JScript]
public function IsSubclassOf(
   c : Type
) : Boolean;

Parameters

c
The Type that might be a superclass of the current Type.

Return Value

true if the current Type is a direct or indirect subclass of c; otherwise, false.

Remarks

This method can be overridden by a derived class.

See Also

Type Class | Type Members | System Namespace