FieldDefinitionCollection.GetById Method
Gets the FieldDefinition object that has the specified ID.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function GetById ( _
id As Integer _
) As FieldDefinition
public FieldDefinition GetById(
int id
)
public:
FieldDefinition^ GetById(
int id
)
member GetById :
id:int -> FieldDefinition
public function GetById(
id : int
) : FieldDefinition
Parameters
- id
Type: System.Int32
The ID of the FieldDefinition object of interest.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinition
The FieldDefinition object that is associated with 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.