Bagikan melalui


UICollectionViewController.NumberOfSections(UICollectionView) Metode

Definisi

Jumlah bagian di UICollectionView.

[Foundation.Export("numberOfSectionsInCollectionView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint NumberOfSections (UIKit.UICollectionView collectionView);
abstract member NumberOfSections : UIKit.UICollectionView -> nint
override this.NumberOfSections : UIKit.UICollectionView -> nint

Parameter

collectionView
UICollectionView

Tampilan koleksi dikelola oleh pengontrol tampilan ini.

Mengembalikan

System.System.IntPtr System.nativeint

Jumlah bagian, sebagai int.

Atribut

Berlaku untuk