Share via


UICollectionViewController.NumberOfSections(UICollectionView) Method

Definition

The number of sections in this UICollectionViewDataSource.

[Foundation.Export("numberOfSectionsInCollectionView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr NumberOfSections(UIKit.UICollectionView collectionView);
[<Foundation.Export("numberOfSectionsInCollectionView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NumberOfSections : UIKit.UICollectionView -> nativeint
override this.NumberOfSections : UIKit.UICollectionView -> nativeint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

IntPtr

nativeint

Implements

Attributes

Applies to