UICollectionViewDataSource_Extensions.NumberOfSections(IUICollectionViewDataSource, UICollectionView) UICollectionViewDataSource_Extensions.NumberOfSections(IUICollectionViewDataSource, UICollectionView) 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 IUICollectionViewDataSource

The instance on which this extension method operates.

collectionView
UICollectionView UICollectionView

The collection view that originated the request.

Returns

Applies to