Share via


UICollectionView.NumberOfItemsInSection(nint) 方法

定义

返回指定节中的项数。

[Foundation.Export("numberOfItemsInSection:")]
public virtual nint NumberOfItemsInSection (nint section);
abstract member NumberOfItemsInSection : nint -> nint
override this.NumberOfItemsInSection : nint -> nint

参数

section
System.System.IntPtr System.nativeint

节的索引。

返回

System.System.IntPtr System.nativeint

指定节中的项数。

属性

适用于