IVsTextManager.EnumLanguageServices(IVsEnumGUID) Method

Definition

Enumerates the registered language service IDs.

C++/CX
public:
 int EnumLanguageServices([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumGUID ^ &  ppEnum);

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:

cpp#
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

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022