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
- 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.