[]
        
Replaces the element at the specified index.
protected override void SetItem(int index, DateField item)Protected Overrides Sub SetItem(index As Integer, item As DateField)| Type | Name | Description | 
|---|---|---|
| int | index | The zero-based index of the element to replace. | 
| DateField | item | The new value for the element at the specified index. | 
| Type | Condition | 
|---|---|
| InvalidOperationException | When set the DateField of the same function to the collection, e.g. the a DateYearField is in the collection, you cannot change another field to either DateEraField or DateEraYearField. |