This documentation is archived and is not being maintained.

ProjectCollection::GetById Method

Gets a project in this collection by using its ID.

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

public:
Project^ GetById(
	int projectId
)

Parameters

projectId
Type: System::Int32

The ID of the desired project.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client::Project
The project in this collection that has the specified ID.

Show: