Share via


UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>.GetSnapshot Method

Definition

[Foundation.Export("snapshotForSection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSDiffableDataSourceSectionSnapshot<ItemIdentifierType> GetSnapshot(SectionIdentifierType section);
[<Foundation.Export("snapshotForSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSnapshot : 'SectionIdentifierType -> UIKit.NSDiffableDataSourceSectionSnapshot<'ItemIdentifierType (requires 'ItemIdentifierType :> Foundation.NSObject)>
override this.GetSnapshot : 'SectionIdentifierType -> UIKit.NSDiffableDataSourceSectionSnapshot<'ItemIdentifierType (requires 'ItemIdentifierType :> Foundation.NSObject)>

Parameters

section
SectionIdentifierType

Returns

Attributes

Applies to