IFileToContentTypeService.GetExtensionsForContentType(IContentType) Метод

Определение

Получает список расширений файла, связанных с указанным типом содержимого.

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

Параметры

contentType
IContentType

Тип содержимого. Он не может иметь значение null.

Возвращаемое значение

IEnumerable<String>

Список расширений файла, связанных с данным типом содержимого.

Применяется к