Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the index in this collection of the specified FieldDefinition.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function IndexOfFieldId ( _
id As Integer _
) As Integer
public int IndexOfFieldId(
int id
)
public:
int IndexOfFieldId(
int id
)
member IndexOfFieldId :
id:int -> int
public function IndexOfFieldId(
id : int
) : int
Parameters
- id
Type: System.Int32
The ID of the FieldDefinition for which the index in this collection is desired.
Return Value
Type: System.Int32
The index of the specified FieldDefinition in this collection. Returns -1 if the field is not located in this collection.
.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.