共用方式為


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

'宣告
Public ReadOnly Property Project As Project
    Get
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