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
'宣告
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
- extension
Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension
The extension for which to find dependents.
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
- 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.