PickWorkItemsControl.GetCurrentlySelectedWorkItem Method
Returns the selected (highlighted, not checked) work item in the list. Returns 'null' if there is no work item selected.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)
Syntax
'Declaration
Public Function GetCurrentlySelectedWorkItem As WorkItem
public WorkItem GetCurrentlySelectedWorkItem()
public:
WorkItem^ GetCurrentlySelectedWorkItem()
member GetCurrentlySelectedWorkItem : unit -> WorkItem
public function GetCurrentlySelectedWorkItem() : WorkItem
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
.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.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace