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