IVsTextManager.EnumLanguageServices Method
Enumerates the registered language service IDs.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
'宣告
Function EnumLanguageServices ( _
<OutAttribute> ByRef ppEnum As IVsEnumGUID _
) As Integer
int EnumLanguageServices(
out IVsEnumGUID ppEnum
)
int EnumLanguageServices(
[OutAttribute] IVsEnumGUID^% ppEnum
)
abstract EnumLanguageServices :
ppEnum:IVsEnumGUID byref -> int
function EnumLanguageServices(
ppEnum : IVsEnumGUID
) : int
- ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumGUID%
[out] Pointer to the IVsEnumGUID interface.
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextManager::EnumLanguageServices(
[out] IVsEnumGUID **ppEnum
);
Use this method to enumerate all of the language services that are registered with the text buffer by GUID.
- 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.