UITableView.DeleteRows(NSIndexPath[], UITableViewRowAnimation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delete the rows referenced in the atIndexPaths
array. The deletion can optionally be animated.
[Foundation.Export("deleteRowsAtIndexPaths:withRowAnimation:")]
public virtual void DeleteRows (Foundation.NSIndexPath[] atIndexPaths, UIKit.UITableViewRowAnimation withRowAnimation);
abstract member DeleteRows : Foundation.NSIndexPath[] * UIKit.UITableViewRowAnimation -> unit
override this.DeleteRows : Foundation.NSIndexPath[] * UIKit.UITableViewRowAnimation -> unit
Parameters
- atIndexPaths
- NSIndexPath[]
Array of NSIndexPath objects that identify which rows to delete.
- withRowAnimation
- UITableViewRowAnimation
What type of animation to use when deleting the rows (eg. fade out or slide out from bottom).
- Attributes
Remarks
When this method is called inside an animation block defined by BeginUpdates() and EndUpdates(), any insertions of rows or sections are deferred until after deletions have been processed. This happens regardless of the ordering of the insertion and deletion method calls within the animation block.