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)

public int Id { get; }

Property Value

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

For a new, unsaved work item, returns 0.

Show: