IVsProjectSpecificEditorMap2::GetSpecificLanguageService Method (String^, Guid)
Visual Studio 2015
Use to specify the language service that should be associated with the core editor if the core editor is the default editor.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetSpecificLanguageService(
String^ pszMkDocument,
[OutAttribute] Guid% pguidLanguageService
)
Parameters
- pszMkDocument
-
Type:
System::String^
[in] String form of the unique moniker identifier of the document in the project system.
- pguidLanguageService
-
Type:
System::Guid
[out, retval] GUID of the language service to be associated with the core editor.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsProjectSpecificEditorMap2::GetSpecificLanguageService(
[in] LPCOLESTR pszMkDocument,
[out, retval] GUID *pguidLanguageService
);
Show: