Share via


WorkItem.Project Property

Gets the current project that is associated with this work item.

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

Syntax

'Declaration
Public ReadOnly Property Project As Project
public Project Project { get; }
public:
property Project^ Project {
    Project^ get ();
}
member Project : Project
function get Project () : Project

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Project
The current project that is associated with this work item.

Exceptions

Exception Condition
DeniedOrNotExistException

The Project field is null.

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace