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
声明
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
.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.