共用方式為


INSCollectionViewDataSource.GetNumberofItems(NSCollectionView, nint) 方法

定義

[Foundation.Export("collectionView:numberOfItemsInSection:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public nint GetNumberofItems (AppKit.NSCollectionView collectionView, nint section);
abstract member GetNumberofItems : AppKit.NSCollectionView * nint -> nint

參數

collectionView
NSCollectionView
section
System.System.IntPtr System.nativeint

傳回

System.System.IntPtr System.nativeint
屬性

適用於