Share via


UICollectionViewDataSource_Extensions.NumberOfSections Method

Definition

The number of sections in this UICollectionViewDataSource.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static IntPtr NumberOfSections(this UIKit.IUICollectionViewDataSource This, UIKit.UICollectionView collectionView);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member NumberOfSections : UIKit.IUICollectionViewDataSource * UIKit.UICollectionView -> nativeint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

IntPtr

nativeint

Attributes

Applies to