IFileExtensionRegistryService2.GetFileNamesForContentType 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与指定内容类型相关联的文件名的列表。
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。
返回
与内容类型相关联的文件名的列表。