IRemoteTypeContract2.IsSubclassOf Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Determines whether the class that is represented in the current instance of IRemoteTypeContract2 derives from the class that is represented by the specified canonical name.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Contract
Assembly:  Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)

Syntax

'Declaration
Function IsSubclassOf ( _
    canonicalName As String _
) As Boolean
'Usage
Dim instance As IRemoteTypeContract2 
Dim canonicalName As String 
Dim returnValue As Boolean 

returnValue = instance.IsSubclassOf(canonicalName)
bool IsSubclassOf(
    string canonicalName
)
bool IsSubclassOf(
    String^ canonicalName
)
function IsSubclassOf(
    canonicalName : String
) : boolean

Parameters

  • canonicalName
    Type: System.String

    A string value that uniquely identifies the type to compare.

Return Value

Type: System.Boolean
true if the current instance of IRemoteTypeContract2 represents a class that is derived from the type that is specified by its canonical name; false in all other cases or if no type could be obtained from the specified canonical name.

See Also

Reference

IRemoteTypeContract2 Interface

IRemoteTypeContract2 Members

Microsoft.VisualStudio.Tools.Applications.Contract Namespace