IVsProjectSpecificEditorMap2.GetSpecificEditorType(String, Guid) 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.
Specifies which editor should be used to load the specified file.
public:
int GetSpecificEditorType(System::String ^ pszMkDocument, [Runtime::InteropServices::Out] Guid % pguidEditorType);
public int GetSpecificEditorType (string pszMkDocument, out Guid pguidEditorType);
abstract member GetSpecificEditorType : string * Guid -> int
Public Function GetSpecificEditorType (pszMkDocument As String, ByRef pguidEditorType As Guid) As Integer
Parameters
- pszMkDocument
- String
[in] String form of the unique moniker identifier of the document in the project system.
- pguidEditorType
- Guid
[out, retval] GUID of the editor factory that should be used to instantiate an editor for the file.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsProjectSpecificEditorMap2::GetSpecificEditorType(
[in] LPCOLESTR pszMkDocument,
[out, retval] GUID *pguidEditorType
);