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)
声明
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>
- contentType
Type: Microsoft.VisualStudio.Utilities.IContentType
The content type. It cannot be nulla null reference (Nothing in Visual Basic).
Type: System.Collections.Generic.IEnumerable<String>
The list of file extensions associated with the content type.
- 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.