IContentType.IsOfType Method (String)

 

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

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

bool IsOfType(
	string type
)

Parameters

type
Type: System.String

The name of the base content type.

Return Value

Type: System.Boolean

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

Return to top
Show: