IWorkspaceContentTypeService.GetFileContentType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
item filter object