Skip to main content

LinkCollection.Insert(Int32, LinkBase) Method

Inserts the specified LinkBase object into the collection at the specified position.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public void Insert(
    int index,
    LinkBase val
)

Parameters

Name Type Description
index Int32

The zero-based index at which the link should be inserted.

val LinkBase

The LinkBase object to insert into the collection.

Remarks

If the index passed as a parameter to this method is less than zero, or exceeds the number of links in the collection, this method throws an exception of the ArgumentOutOfRangeException type.

See Also