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.v21.2.Core.dll


public void Insert(
    int index,
    LinkBase val


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.


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