Partager via


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

'Déclaration
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

See Also

Reference

WorkItemType Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace