WorkItem.Id Property

Gets the ID of this work item.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Id As Integer
public int Id { get; }
public:
property int Id {
    int get ();
}
member Id : int with get
function get Id () : int

Property Value

Type: System.Int32
The ID of this work item.

Remarks

For a new, unsaved work item, returns 0.

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace