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
'宣告
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
- 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.