IEditableCollectionView::CommitEdit Method ()
.NET Framework (current version)
Ends the edit transaction and saves the pending changes.
Assembly: WindowsBase (in WindowsBase.dll)
The following example creates a form that prompts the user to edit an existing item. If the user submits the form, the example calls CommitEdit to save the changes to the collection. If the user cancels the form, the example calls CancelEdit to discard the changes. For the entire sample, see Changing a Collection by Using IEditableCollectionView Sample.
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Show: