Partager via


DownloadFile.Version Property

Gets or sets the version of the file to download.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Déclaration
<BrowsableAttribute(True)> _
Public Property Version As InArgument(Of String)
    Get
    Set
[BrowsableAttribute(true)]
public InArgument<string> Version { get; set; }
[BrowsableAttribute(true)]
public:
property InArgument<String^>^ Version {
    InArgument<String^>^ get ();
    void set (InArgument<String^>^ value);
}
[<BrowsableAttribute(true)>]
member Version : InArgument<string> with get, set
function get Version () : InArgument<String>
function set Version (value : InArgument<String>)

Property Value

Type: System.Activities.InArgument<String>
The version of the file to download.

Remarks

To download the latest version, set this value to “Microsoft.TeamFoundation.VersionControl.Client.VersionSpec.Latest.DisplayString”.

.NET Framework Security

See Also

Reference

DownloadFile Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace