This documentation is archived and is not being maintained.
FieldCollection::GetById Method
Visual Studio 2013
Gets the Field in this collection that has the specified ID.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- id
- Type: System::Int32
The ID of the Field.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::FieldThe Field that has the specified ID.
| Exception | Condition |
|---|---|
| ValidationException | The specified ID does not resolve to a Field in this collection. |
This method throws a ValidationException if the specified ID does not resolve to a Field.
- 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.
Show: