IContentTypeRegistryService.GetContentType Method

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft