RevisionCollection.IndexOf Method
Gets the index, in this collection, of the specified revision.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function IndexOf ( _
value As Revision _
) As Integer
public int IndexOf(
Revision value
)
public:
int IndexOf(
Revision^ value
)
member IndexOf :
value:Revision -> int
public function IndexOf(
value : Revision
) : int
Parameters
- value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Revision
The revision of which the index in this collection is desired.
Return Value
Type: System.Int32
The index, in this collection, of the specified revision.
.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.