共用方式為


NSCollectionViewDataSource.GetNumberOfSections(NSCollectionView) 方法

定義

[Foundation.Export("numberOfSectionsInCollectionView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint GetNumberOfSections (AppKit.NSCollectionView collectionView);
abstract member GetNumberOfSections : AppKit.NSCollectionView -> nint
override this.GetNumberOfSections : AppKit.NSCollectionView -> nint

參數

collectionView
NSCollectionView

傳回

System.System.IntPtr System.nativeint
屬性

適用於