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
- extensionDetails
Type: Microsoft.VisualStudio.ExtensionManager.IRepositoryEntry
The IRepositoryEntry that corresponds to the extension to be downloaded.
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
- 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.