IVsProjectSpecificEditorMap.GetSpecificEditorType(String, Guid) Method

Definition

Use to specify 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.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsProjectSpecificEditorMap::GetSpecificEditorType(  
   [in] LPCOLESTR pszMkDocument,  
   [out, retval] GUID *pguidEditorType  
);  

Applies to