共用方式為


AddInPostDeploymentActionArgs.Version Property

Gets the version of the add-in being downloaded.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Deployment
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Version As String
public string Version { get; }

Property Value

Type: System.String
The version of the add-in being downloaded. The version number is based on the value in the deployment manifest.

.NET Framework Security

See Also

Reference

AddInPostDeploymentActionArgs Class

Microsoft.VisualStudio.Tools.Applications.Deployment Namespace