Freigeben über


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)

Syntax

'Declaration
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

Parameters

  • type
    Type: String

    The name of the base content type.

Return Value

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

.NET Framework Security

See Also

Reference

IContentType Interface

Microsoft.VisualStudio.Utilities Namespace