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)
Syntax
‘선언
Public Function GetById ( _
projectId As Integer _
) As Project
public Project GetById(
int projectId
)
public:
Project^ GetById(
int projectId
)
member GetById :
projectId:int -> Project
public function GetById(
projectId : int
) : Project
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.
.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.