IVsExtensionManager.GetEnabledExtensions Method
Queries for all enabled extensions under ExtensionsRoot.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣告
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
- 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.