Condividi tramite


IVsExtensionManager.GetImmediateDependants Method

Finds all installed extensions that depend on the given extension.

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

Syntax

'Dichiarazione
Function GetImmediateDependants ( _
    extension As IInstalledExtension _
) As IEnumerable(Of IInstalledExtension)
IEnumerable<IInstalledExtension> GetImmediateDependants(
    IInstalledExtension extension
)
IEnumerable<IInstalledExtension^>^ GetImmediateDependants(
    IInstalledExtension^ extension
)
abstract GetImmediateDependants : 
        extension:IInstalledExtension -> IEnumerable<IInstalledExtension> 
function GetImmediateDependants(
    extension : IInstalledExtension
) : IEnumerable<IInstalledExtension>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IInstalledExtension>
A collection of IInstalledExtension objects that represent installed extensions that depend on the given extension.

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