IUICollectionViewDataSource.GetItemsCount(UICollectionView, nint) IUICollectionViewDataSource.GetItemsCount(UICollectionView, nint) Method

Definition

The number of items in the specified section.

[Foundation.Export("collectionView:numberOfItemsInSection:")]
[Foundation.Preserve(Conditional=true)]
public nint GetItemsCount (UIKit.UICollectionView collectionView, nint section);
abstract member GetItemsCount : UIKit.UICollectionView * nint -> nint

Parameters

collectionView
UICollectionView UICollectionView

The collection view that originated the request.

section
nint nint

Returns

Number of rows in the specified section.

Applies to