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
參數
extensionDetails
類型:Microsoft.VisualStudio.ExtensionManager.IRepositoryEntryThe IRepositoryEntry that corresponds to the extension to be downloaded.
傳回值
類型: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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。