編輯

共用方式為


UICollectionView.GetIndexPathsForSelectedItems Method

Definition

Returns an array of NSIndexPaths indicating which cells are currently selected.

[Foundation.Export("indexPathsForSelectedItems")]
public virtual Foundation.NSIndexPath[] GetIndexPathsForSelectedItems ();
abstract member GetIndexPathsForSelectedItems : unit -> Foundation.NSIndexPath[]
override this.GetIndexPathsForSelectedItems : unit -> Foundation.NSIndexPath[]

Returns

An array containing zero or more NSIndexPaths.

Attributes

Applies to