IFileToContentTypeService.GetExtensionsForContentType(IContentType) Método

Definição

Obtém a lista de extensões de arquivo associadas ao tipo de conteúdo especificado.

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)

Parâmetros

contentType
IContentType

O tipo de conteúdo. Não pode ser nulo.

Retornos

IEnumerable<String>

A lista de extensões de arquivo associada ao tipo de conteúdo.

Aplica-se a