IFileExtensionRegistryService2.GetFileNamesForContentType 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 names associated with the specified content type.
public:
System::Collections::Generic::IEnumerable<System::String ^> ^ GetFileNamesForContentType(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public System.Collections.Generic.IEnumerable<string> GetFileNamesForContentType (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member GetFileNamesForContentType : Microsoft.VisualStudio.Utilities.IContentType -> seq<string>
Public Function GetFileNamesForContentType (contentType As IContentType) As IEnumerable(Of String)
Parameters
- contentType
- IContentType
The content type. It cannot be null.
Returns
The list of file names associated with the content type.