Share via


UICollectionViewController.GetItemsCount(UICollectionView, IntPtr) Method

Definition

Returns the number of items in the specified section.

[Foundation.Export("collectionView:numberOfItemsInSection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetItemsCount(UIKit.UICollectionView collectionView, IntPtr section);
[<Foundation.Export("collectionView:numberOfItemsInSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItemsCount : UIKit.UICollectionView * nativeint -> nativeint
override this.GetItemsCount : UIKit.UICollectionView * nativeint -> nativeint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

section
IntPtr

nativeint

Returns

IntPtr

nativeint

Implements

Attributes

Applies to