Share via


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

See Also

Reference

FieldDefinitionCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace