共用方式為


UICollectionView.NumberOfItemsInSection(nint) 方法

定義

傳回指定區段中的專案數。

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

參數

section
System.System.IntPtr System.nativeint

區段的索引。

傳回

System.System.IntPtr System.nativeint

指定區段中的專案數。

屬性

適用於