IContentType.IsOfType Method

Determines whether this content type has the specified base content type.

Namespace:  Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)


Function IsOfType ( _
    type As String _
) As Boolean
bool IsOfType(
    string type
bool IsOfType(
    String^ type
abstract IsOfType : 
        type:string -> bool 
function IsOfType(
    type : String
) : boolean


Return Value

Type: System.Boolean
true if this content type derives from the one specified by type, otherwise false.

.NET Framework Security

See Also


IContentType Interface

Microsoft.VisualStudio.Utilities Namespace