IVsProjectSpecificEditorMap::GetSpecificEditorType Method (String^, Guid)
Visual Studio 2015
Use to specify which editor should be used to load the specified file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pszMkDocument
-
Type:
System::String^
[in] String form of the unique moniker identifier of the document in the project system.
- pguidEditorType
-
Type:
System::Guid
[out, retval] GUID of the editor factory that should be used to instantiate an editor for the file.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsProjectSpecificEditorMap::GetSpecificEditorType(
[in] LPCOLESTR pszMkDocument,
[out, retval] GUID *pguidEditorType
);
Show: