[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateFieldCollection.InsertItems

InsertItems Method

InsertItems(int, IEnumerable<DateField>)

Inserts some items into the collection at the specified index.

Declaration
protected override void InsertItems(int index, IEnumerable<DateField> value)
Protected Overrides Sub InsertItems(index As Integer, value As IEnumerable(Of DateField))
Parameters
Type Name Description
int index

The zero-based index at which item should be inserted.

IEnumerable<DateField> value

A IEnumerable<T> containing the objects to add to the collection.

Overrides
Exceptions
Type Condition
InvalidOperationException

When add the DateField of the same function to the collection, e.g. the a DateYearField is in the collection, you cannot add either DateEraField or DateEraYearField.