UICollectionViewSource.NumberOfSections(UICollectionView) Method

Definition

Returns the number of sections in the collectionView.

[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

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to