AttachmentCollection.IList.IndexOf Method

Gets the index of the specified object in this collection.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
int IList.IndexOf(
    Object value
)
private:
virtual int IndexOf(
    Object^ value
) sealed = IList::IndexOf
private abstract IndexOf : 
        value:Object -> int  
private override IndexOf : 
        value:Object -> int
JScript does not support explicit interface implementations.

Parameters

  • value
    Type: System.Object

    The object for which the index in this collection is desired.

Return Value

Type: System.Int32
The index of the specified object in this collection.

Implements

IList.IndexOf(Object)

.NET Framework Security

See Also

Reference

AttachmentCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace