| 
LayoutCollection
 T
IndexOf Method
  | 
 Returns the zero-based index of the first occurrence of a specific item in the collection.
 Namespace:
 Spire.Doc.Pages
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public int IndexOf(
	T item
)
 
Public Function IndexOf ( 
	item As T
) As Integer
 
public:
int IndexOf(
	T item
)
 
member IndexOf : 
item : 'T -> int 
 
 
 
Parameters
 
- 
item
 
- 
 Type:
 
 T
 The item to locate in the collection.
Return Value
 
 Type:
 
Int32
 
 The zero-based index of the first occurrence of item if found; otherwise, -1.
 
 See Also
See Also