Aspose::Pdf::Generator::BoundsCheckableList::IndexOf method

BoundsCheckableList::IndexOf method

Searches for the specified object and returns the zero-based index of the first occurrence within the entire System.Collections.Generic.List.

int32_t Aspose::Pdf::Generator::BoundsCheckableList<typename>::IndexOf(const T &item) const override
ParameterTypeDescription
itemconst T&The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

ReturnValue

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

See Also