共用方式為


UICollectionView.NumberOfSections 方法

定義

傳回 中的 UICollectionView 區段數目。

[Foundation.Export("numberOfSections")]
public virtual nint NumberOfSections ();
abstract member NumberOfSections : unit -> nint
override this.NumberOfSections : unit -> nint

傳回

System.System.IntPtr System.nativeint

中的 UICollectionView 區段數目。

屬性

適用於