次の方法で共有


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)

Syntax

'宣言
Function EnumLanguageServices ( _
    <OutAttribute> ByRef ppEnum As IVsEnumGUID _
) As Integer
'使用
Dim instance As IVsTextManager
Dim ppEnum As IVsEnumGUID
Dim returnValue As Integer

returnValue = instance.EnumLanguageServices(ppEnum)
int EnumLanguageServices(
    out IVsEnumGUID ppEnum
)
int EnumLanguageServices(
    [OutAttribute] IVsEnumGUID^% ppEnum
)
function EnumLanguageServices(
    ppEnum : IVsEnumGUID
) : int

Parameters

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 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.

Permissions

See Also

Reference

IVsTextManager Interface

IVsTextManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace