ITestBase.WorkItem Property

 

Gets the underlying work item.

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

Syntax

WorkItem WorkItem { get; }
property WorkItem^ WorkItem {
    WorkItem^ get();
}
abstract WorkItem : WorkItem with get
ReadOnly Property WorkItem As WorkItem

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem

The underlying work item.

Remarks

You can call the ITestBase.Flush method and then use the WorkItem.Save method on the object that is returned from this property. Or you can call the ITestBase.Save method to save a work item to the server.

See Also

WorkItem
ITestBase Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top