共用方式為


NSCollectionViewDataSource_Extensions.GetNumberOfSections 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static nint GetNumberOfSections (this AppKit.INSCollectionViewDataSource This, AppKit.NSCollectionView collectionView);
static member GetNumberOfSections : AppKit.INSCollectionViewDataSource * AppKit.NSCollectionView -> nint

參數

collectionView
NSCollectionView

傳回

System.System.IntPtr System.nativeint
屬性

適用於