IContentTypeRegistryService.GetContentType Method (String)

 

Gets the IContentType object with the specified type name.

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

IContentType GetContentType(
	string typeName
)

Parameters

typeName
Type: System.String

The name of the content type. Name comparisons are case-insensitive.

Return Value

Type: Microsoft.VisualStudio.Utilities.IContentType

The content type, or null if no content type is found.

Return to top
Show: