IWorkspaceContentTypeService.GetFileContentType(String) Method

Definition

Gets the Item Filter object for the given 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

Parameters

fullPath
String

the file content type

Returns

IWorkspaceFileWithContentType

item filter object

Applies to