Share via


UICollectionView.NumberOfItemsInSection(IntPtr) Method

Definition

Returns the number of items in the specified section.

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

Parameters

section
IntPtr

nativeint

The index of the section.

Returns

IntPtr

nativeint

The number of items in the specified section.

Attributes

Applies to