共用方式為


Item.DeletionId Property

Since more than one deleted item may exist with the same ServerItem name, this is used to uniquely identify deleted items.

ServerItem + DeletionId is guaranteed to be unique for all items.

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 DeletionId As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public int DeletionId { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property int DeletionId {
    int get ();
    void set (int value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member DeletionId : int with get, set
function get DeletionId () : int 
function set DeletionId (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

Item Class

Microsoft.TeamFoundation.VersionControl.Server Namespace