다음을 통해 공유


UITableView.NumberOfRowsInSection(nint) 메서드

정의

지정된 섹션의 행 수(표 셀)를 반환합니다.

[Foundation.Export("numberOfRowsInSection:")]
public virtual nint NumberOfRowsInSection (nint section);
abstract member NumberOfRowsInSection : nint -> nint
override this.NumberOfRowsInSection : nint -> nint

매개 변수

section
System.System.IntPtr System.nativeint

쿼리할 섹션의 인덱스입니다. 섹션 인덱스는 0부터 시작합니다.

반환

System.System.IntPtr System.nativeint

섹션의 행 수입니다.

특성

설명

UITableView는 (또는 UITableViewDataSource)에서 UITableViewSource 이 값을 검색하여 캐시합니다.

적용 대상