Share via


UICollectionView.IndexPathForCell(UICollectionViewCell) 메서드

정의

의 를 NSIndexPath 반환합니다 cell.

[Foundation.Export("indexPathForCell:")]
public virtual Foundation.NSIndexPath IndexPathForCell (UIKit.UICollectionViewCell cell);
abstract member IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath
override this.IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath

매개 변수

cell
UICollectionViewCell

UICollectionViewCell 인덱스가 필요한 입니다.

반환

지정된 NSIndexPathUICollectionViewCell입니다. 이 셀에 없는 f를 반환 null 합니다. UICollectionView

특성

적용 대상