IWorkspaceContentTypeService.GetFileContentType(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定 filterKey 的项筛选器对象。
public:
Microsoft::VisualStudio::Workspace::ContentTypes::IWorkspaceFileWithContentType ^ GetFileContentType(System::String ^ fullPath);
public:
Microsoft::VisualStudio::Workspace::ContentTypes::IWorkspaceFileWithContentType ^ GetFileContentType(Platform::String ^ fullPath);
Microsoft::VisualStudio::Workspace::ContentTypes::IWorkspaceFileWithContentType GetFileContentType(std::wstring const & fullPath);
public Microsoft.VisualStudio.Workspace.ContentTypes.IWorkspaceFileWithContentType GetFileContentType (string fullPath);
abstract member GetFileContentType : string -> Microsoft.VisualStudio.Workspace.ContentTypes.IWorkspaceFileWithContentType
Public Function GetFileContentType (fullPath As String) As IWorkspaceFileWithContentType
参数
- fullPath
- String
文件内容类型
返回
item 筛选器对象