CollectionBase<T>.IList<T>.IndexOf Method
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Private Function IndexOf ( _
item As T _
) As Integer Implements IList(Of T).IndexOf
'Usage
Dim instance As CollectionBase
Dim item As T
Dim returnValue As Integer
returnValue = CType(instance, IList(Of T)).IndexOf(item)
int IList<T>.IndexOf(
T item
)
Parameters
- item
Type: T
Return Value
Type: System.Int32
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.