Partilhar via


PendingChange.Version Property

When the version is zero the pending change is not made against an existing item version. If the version is non-zero the pending change was made to the specified version of the item.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property Version As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public int Version { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property int Version {
    int get ();
    void set (int value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member Version : int with get, set
function get Version () : int 
function set Version (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Server Namespace