共用方式為


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

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace