FieldDefinitionCollection.IndexOf Method
Gets the index of the specified FieldDefinition object in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
‘선언
Public Function IndexOf ( _
fieldDefinition As FieldDefinition _
) As Integer
public int IndexOf(
FieldDefinition fieldDefinition
)
public:
int IndexOf(
FieldDefinition^ fieldDefinition
)
member IndexOf :
fieldDefinition:FieldDefinition -> int
public function IndexOf(
fieldDefinition : FieldDefinition
) : int
Parameters
- fieldDefinition
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinition
The FieldDefinition object for which the index is desired.
Return Value
Type: System.Int32
The index of the specified FieldDefinition object.
.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.