[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBagList-1.IndexOf

IndexOf Method

IndexOf(T)

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

Declaration
protected int IndexOf(T item)
Protected Function IndexOf(item As T) As Integer
Parameters
Type Name Description
T item

The object to locate in the list.

Returns
Type Description
int

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