Condividi tramite


IFileExtensionRegistryService.GetExtensionsForContentType Method

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)

Syntax

'Dichiarazione
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>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<String>
The list of file extensions associated with the content type.

.NET Framework Security

See Also

Reference

IFileExtensionRegistryService Interface

Microsoft.VisualStudio.Utilities Namespace