Skip to main content

ExceptionRuleCollection.Insert(Int32, ExceptionRule) Method

Inserts the specified exception rule to the collection at the specified index.

Namespace: DevExpress.XtraGantt.Exceptions

Assembly: DevExpress.XtraGantt.v24.2.dll

Declaration

public bool Insert(
    int index,
    ExceptionRule item
)

Parameters

Name Type Description
index Int32

An Int32 value that specifies the index at which to insert the item.

item ExceptionRule

An object that specifies the exception rule to insert to the collection.

Returns

Type Description
Boolean

true if the item is successfully inserted; otherwise, false.

See Also