IVsExtensionManager.GetInstalledExtensions Method
Query for all installed extensions under ExtensionsRoot.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣言
Function GetInstalledExtensions As IEnumerable(Of IInstalledExtension)
IEnumerable<IInstalledExtension> GetInstalledExtensions()
IEnumerable<IInstalledExtension^>^ GetInstalledExtensions()
abstract GetInstalledExtensions : unit -> IEnumerable<IInstalledExtension>
function GetInstalledExtensions() : IEnumerable<IInstalledExtension>
Return Value
Type: System.Collections.Generic.IEnumerable<IInstalledExtension>
A collection of IExtension objects that contain the metadata of all installed 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.