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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.