IFileToContentTypeService.GetExtensionsForContentType(IContentType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the list of file extensions associated with the specified content type.
public:
System::Collections::Generic::IEnumerable<System::String ^> ^ GetExtensionsForContentType(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public System.Collections.Generic.IEnumerable<string> GetExtensionsForContentType (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member GetExtensionsForContentType : Microsoft.VisualStudio.Utilities.IContentType -> seq<string>
Public Function GetExtensionsForContentType (contentType As IContentType) As IEnumerable(Of String)
Parameters
- contentType
- IContentType
The content type. It cannot be null.
Returns
The list of file extensions associated with the content type.