RowFieldsBase.SetItem method
namespace: Serenity.Data assembly: Serenity.Net.Entity
Replaces the element at the specified index.
protected override void SetItem(int index, Field item)
parameter | description |
---|---|
index | The zero-based index of the element to replace. |
item | The new value for the element at the specified index. The value can be null for reference types. |
Exceptions
exception | condition |
---|---|
InvalidOperationException | field collection can't be modified! |
ArgumentNullException | item |
ArgumentOutOfRangeException | item |
See Also
- class Field
- class RowFieldsBase