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
'Declaration
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
contentType
Type: Microsoft.VisualStudio.Utilities.IContentTypeThe content type. It cannot be nulla null reference (Nothing in Visual Basic).
Return Value
Type: IEnumerable<String>
The list of file extensions associated with the content type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.