RowFieldsBase.InsertItem method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Inserts an element into the Collection at the specified index.

protected override void InsertItem(int index, Field item)
parameter description
index The zero-based index at which item should be inserted.
item The object to insert. The value can be null for reference types.

Exceptions

exception condition
InvalidOperationException field collection can't be modified!
ArgumentNullException item
ArgumentOutOfRangeException item

See Also