Determines the index of a specific item in the list.

Namespace: Spire.Pdf.Lists
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public int IndexOf(
	PdfListItem item
)
Public Function IndexOf ( 
	item As PdfListItem
) As Integer
public:
int IndexOf(
	PdfListItem^ item
)
member IndexOf : 
        item : PdfListItem -> int 

Parameters

item
PdfListItem
The item to locate in the list.

Return Value

Int32
The index of item if found in the list; otherwise, -1.

See Also