WorkItem.Copy Method

Creates a copy of this WorkItem instance.

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

Syntax

'Declaration
Public Function Copy As WorkItem
public WorkItem Copy()
public:
WorkItem^ Copy()
member Copy : unit -> WorkItem
public function Copy() : WorkItem

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
A new WorkItem instance that is a copy of this WorkItem instance.

Remarks

The last known saved state of this WorkItem instance is copied.

.NET Framework Security

See Also

Reference

WorkItem Class

Copy Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace