Delen via


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

'Declaration
ReadOnly Property WorkItem As WorkItem
WorkItem WorkItem { get; }
property WorkItem^ WorkItem {
    WorkItem^ get ();
}
abstract WorkItem : WorkItem with get
function get WorkItem () : 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.

.NET Framework Security

See Also

Reference

ITestBase Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

WorkItem