Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.IContentType
The content type. It cannot be nulla null reference (Nothing in Visual Basic).
Return Value
Type: System.Collections.Generic.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.