[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.ReadOnlyListWrapper-2.IndexOf

IndexOf Method

IndexOf(TWrapperItem)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.

Declaration
public int IndexOf(TWrapperItem item)
Public Function IndexOf(item As TWrapperItem) As Integer
Parameters
Type Name Description
TWrapperItem item

The object to locate in the collection.

Returns
Type Description
int

The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, -1.