共用方式為


IVsExtensionRepository.Download 方法

Downloads an extension.

命名空間:  Microsoft.VisualStudio.ExtensionManager
組件:  Microsoft.VisualStudio.ExtensionManager (在 Microsoft.VisualStudio.ExtensionManager.dll 中)

語法

'宣告
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

參數

傳回值

類型:Microsoft.VisualStudio.ExtensionManager.IInstallableExtension
An IInstallableExtension that contains metadata for the downloaded extension.

備註

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework 安全性

請參閱

參考

IVsExtensionRepository 介面

Microsoft.VisualStudio.ExtensionManager 命名空間