IFileExtensionRegistryService2.GetFileNamesForContentType 方法

定义

获取与指定内容类型相关联的文件名的列表。

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)

参数

contentType
IContentType

内容类型。 不能为 null。

返回

IEnumerable<String>

与内容类型相关联的文件名的列表。

适用于