Click or drag to resize

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
public int IndexOf(
	T item
)

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