LinkCollection.Insert(Int32, LinkBase) Method

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public void Insert(
    int index,
    LinkBase val
)
Public Sub Insert(
    index As Integer,
    val As LinkBase
)

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