Edit

Share via


UICollectionViewDataSource_Extensions.NumberOfSections Method

Definition

The number of sections in this UICollectionViewDataSource.

public static nint NumberOfSections (this UIKit.IUICollectionViewDataSource This, UIKit.UICollectionView collectionView);
static member NumberOfSections : UIKit.IUICollectionViewDataSource * UIKit.UICollectionView -> nint

Parameters

This
IUICollectionViewDataSource

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

Returns

System.System.IntPtr System.nativeint

Applies to