[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ConditionalStyleItemCollection.InsertItem

InsertItem Method

InsertItem(int, ConditionalStyleItem)

Inserts an element into the Collection<T> at the specified index.

Declaration
protected override void InsertItem(int index, ConditionalStyleItem item)
Protected Overrides Sub InsertItem(index As Integer, item As ConditionalStyleItem)
Parameters
Type Name Description
int index

The zero based index where item should be inserted.

ConditionalStyleItem item

The object to insert. The value can be null for reference types.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

The index is less than 0.

-or-

The index is greater than Count.

ArgumentNullException

The item is null.

ArgumentException

The item was added to another ConditionalStyleItemCollection.