Skip to main content

LinkCollection.IndexOf(LinkBase) Method

Returns the zero-based index of the specified link in the collection.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

NuGet Package: DevExpress.Printing.Core

#Declaration

public int IndexOf(
    LinkBase val
)

#Parameters

Name Type Description
val LinkBase

The LinkBase object to locate in the collection.

#Returns

Type Description
Int32

An integer value representing the position of the specified link in the collection.

#Remarks

If the specified link is not found in the collection this method returns -1.

See Also