Share via


IFileExtensionRegistryService2.GetFileNamesForContentType Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetFileNamesForContentType(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public System.Collections.Generic.IEnumerable<string> GetFileNamesForContentType (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member GetFileNamesForContentType : Microsoft.VisualStudio.Utilities.IContentType -> seq<string>
Public Function GetFileNamesForContentType (contentType As IContentType) As IEnumerable(Of String)

Parameters

contentType
IContentType

The content type. It cannot be null.

Returns

The list of file names associated with the content type.

Applies to