IFileExtensionRegistryService.GetExtensionsForContentType, méthode

Obtient la liste d'extensions de fichier associée au type de contenu spécifié.

Espace de noms :  Microsoft.VisualStudio.Utilities
Assembly :  Microsoft.VisualStudio.CoreUtility (dans Microsoft.VisualStudio.CoreUtility.dll)

Syntaxe

'Déclaration
Function GetExtensionsForContentType ( _
    contentType As IContentType _
) As IEnumerable(Of String)
IEnumerable<string> GetExtensionsForContentType(
    IContentType contentType
)
IEnumerable<String^>^ GetExtensionsForContentType(
    IContentType^ contentType
)
abstract GetExtensionsForContentType : 
        contentType:IContentType -> IEnumerable<string> 
function GetExtensionsForContentType(
    contentType : IContentType
) : IEnumerable<String>

Paramètres

Valeur de retour

Type : IEnumerable<String>
Liste d'extensions de fichier associée au type de contenu.

Sécurité .NET Framework

Voir aussi

Référence

IFileExtensionRegistryService Interface

Microsoft.VisualStudio.Utilities, espace de noms