Gets the index of the specified item.

Namespace: Spire.Pdf.Fields
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

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

Parameters

item
PdfListFieldItem
A object whose index is requested.

Return Value

Int32
The index of the given item, -1 if the item does not exist.

See Also