IFileExtensionRegistryService::GetExtensionsForContentType Method (IContentType^)

 

Gets the list of file extensions associated with the specified content type.

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

IEnumerable<String^>^ GetExtensionsForContentType(
	IContentType^ contentType
)

Parameters

contentType
Type: Microsoft.VisualStudio.Utilities::IContentType^

The content type. It cannot be null.

Return Value

Type: System.Collections.Generic::IEnumerable<String^>^

The list of file extensions associated with the content type.

Return to top
Show: