IVsCommandWindow.SetCurrentLanguageService Method
Sets the language service for the Command Window to use in the current debugging context.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetCurrentLanguageService ( _
ByRef rguidLanguageService As Guid _
) As Integer
int SetCurrentLanguageService(
ref Guid rguidLanguageService
)
int SetCurrentLanguageService(
[InAttribute] Guid% rguidLanguageService
)
abstract SetCurrentLanguageService :
rguidLanguageService:Guid byref -> int
function SetCurrentLanguageService(
rguidLanguageService : Guid
) : int
Parameters
- rguidLanguageService
Type: System.Guid%
[in] The GUID of the Language Service being used.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCommandWindow::SetCurrentLanguageService(
[in] REFGUID rguidLanguageService
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.