WorkItemType.NewWorkItem Method
Creates and returns a new WorkItem instance of this work item type.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public Function NewWorkItem As WorkItem
public WorkItem NewWorkItem()
public:
WorkItem^ NewWorkItem()
member NewWorkItem : unit -> WorkItem
public function NewWorkItem() : WorkItem
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The new WorkItem instance of this work item type.
.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.