IWorkspaceContentTypeService.GetFileContentType(String) 方法

定义

获取给定 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

文件内容类型

返回

IWorkspaceFileWithContentType

item 筛选器对象

适用于