UICollectionViewController.GetItemsCount(UICollectionView, nint) Method

Definition

Returns the number of items in the specified section.

[Foundation.Export("collectionView:numberOfItemsInSection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint GetItemsCount (UIKit.UICollectionView collectionView, nint section);
abstract member GetItemsCount : UIKit.UICollectionView * nint -> nint
override this.GetItemsCount : UIKit.UICollectionView * nint -> nint

Parameters

collectionView
UICollectionView

Collection view managed by this view controller.

section
System.System.IntPtr System.nativeint

The specified section.

Returns

System.System.IntPtr System.nativeint

An int with the number of items in the specified section.

Implements

Attributes

Applies to