共用方式為


IVsExtensionRepository.Download Method

Downloads an extension.

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

Syntax

'宣告
Function Download ( _
    extensionDetails As IRepositoryEntry _
) As IInstallableExtension
IInstallableExtension Download(
    IRepositoryEntry extensionDetails
)
IInstallableExtension^ Download(
    IRepositoryEntry^ extensionDetails
)
abstract Download : 
        extensionDetails:IRepositoryEntry -> IInstallableExtension 
function Download(
    extensionDetails : IRepositoryEntry
) : IInstallableExtension

Parameters

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.IInstallableExtension
An IInstallableExtension that contains metadata for the downloaded 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

IVsExtensionRepository Interface

Microsoft.VisualStudio.ExtensionManager Namespace