Partilhar via


IVsTextManager.EnumLanguageServices(IVsEnumGUID) Method

Definition

Enumerates the registered language service IDs.

public:
 int EnumLanguageServices([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumGUID ^ % ppEnum);
public:
 int EnumLanguageServices([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumGUID ^ &  ppEnum);
int EnumLanguageServices([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumGUID const & & ppEnum);
public int EnumLanguageServices (out Microsoft.VisualStudio.TextManager.Interop.IVsEnumGUID ppEnum);
abstract member EnumLanguageServices : IVsEnumGUID -> int
Public Function EnumLanguageServices (ByRef ppEnum As IVsEnumGUID) As Integer

Parameters

ppEnum
IVsEnumGUID

[out] Pointer to the IVsEnumGUID interface.

Returns

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.

Applies to