Condividi tramite


IVsExtensionManager.GetEnabledExtensions Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Queries for all enabled extensions under ExtensionsRoot.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Declaration
Function GetEnabledExtensions As IEnumerable(Of IInstalledExtension)
IEnumerable<IInstalledExtension> GetEnabledExtensions()
IEnumerable<IInstalledExtension^>^ GetEnabledExtensions()
abstract GetEnabledExtensions : unit -> IEnumerable<IInstalledExtension> 
function GetEnabledExtensions() : IEnumerable<IInstalledExtension>

Return Value

Type: System.Collections.Generic.IEnumerable<IInstalledExtension>
A collection of IExtension objects that contain the metadata of all enabled extensions.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

GetEnabledExtensions Overload

Microsoft.VisualStudio.ExtensionManager Namespace