Megosztás a következőn keresztül:


Project Class

Represents a work item tracking project.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.Project

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

Syntax

'Declaration
Public NotInheritable Class Project
public sealed class Project
public ref class Project sealed
[<Sealed>]
type Project =  class end
public final class Project

The Project type exposes the following members.

Properties

  Name Description
Public property AreaRootNodes Gets the collection of area root nodes.
Public property Categories Gets the collection of work item type categories that belong to this project.
Public property HasWorkItemReadRights Checks whether the current user has read rights to work items on this project.
Public property HasWorkItemReadRightsRecursive Checks whether the current user has read rights to work items on this project and subprojects.
Public property HasWorkItemWriteRights Checks whether the current user has write rights to work items on this project.
Public property HasWorkItemWriteRightsRecursive Checks whether the current user has write rights to work items on this project and subprojects.
Public property Id Gets the ID of this project.
Public property IterationRootNodes Gets the collection of iteration root nodes.
Public property Name Gets the name of this project.
Public property QueryHierarchy Gets the collection of query items that is associated with this project.
Public property Store Gets the WorkItemStore instance that is associated with this project.
Public property StoredQueries Obsolete. Gets the collection of stored queries that is associated with this project.
Public property Uri Gets the URI of this project.
Public property WorkItemTypes Gets a collection of WorkItemType objects that belong to this project.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FindNodeInSubTree(Int32) Gets a node in the subtree of this project based on the specified ID.
Public method FindNodeInSubTree(String, Node.TreeType) Gets a node in the subtree of this project based on the specified path.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace