'宣言 Public Event DataSourceItemSynchronized As DataSourceItemSynchronizedEventHandler
public event DataSourceItemSynchronizedEventHandler DataSourceItemSynchronized
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、ItemSynchronizedEventArgs 型の引数を受け取りました。次の ItemSynchronizedEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
Action | Gets the SynchronizationActionEnum value. |
CollectionItem | Gets the reference to the BasePersistableObject derived object. |
DataSourceItem | Gets the reference to the data source item. |
Storage | Gets the reference to the changed C1BindingSource object. |
解説
If properties of an item of the DataStorage collection are changed between BeginEdit and EndEdit calls performed on the item, this event will not be raised until the EndEdit method will be called.
Use this event if you want to update a back store of your data source only after the changes to a corresponding collection have been fully completed. For example, if you use ADO.NET DataSet as a data source, you can commit the changes made in a DataRow as a result of changes in the collection item to the underlying database.
参照