Share via


NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>.GetSnapshot Method

Definition

Overloads

GetSnapshot(ItemIdentifierType)

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

Parameters

parentItem
ItemIdentifierType

Returns

Attributes

Applies to

GetSnapshot(ItemIdentifierType, Boolean)

[Foundation.Export("snapshotOfParentItem:includingParentItem:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSDiffableDataSourceSectionSnapshot<ItemIdentifierType> GetSnapshot(ItemIdentifierType parentItem, bool includingParentItem);
[<Foundation.Export("snapshotOfParentItem:includingParentItem:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSnapshot : 'ItemIdentifierType * bool -> UIKit.NSDiffableDataSourceSectionSnapshot<'ItemIdentifierType (requires 'ItemIdentifierType :> Foundation.NSObject)>
override this.GetSnapshot : 'ItemIdentifierType * bool -> UIKit.NSDiffableDataSourceSectionSnapshot<'ItemIdentifierType (requires 'ItemIdentifierType :> Foundation.NSObject)>

Parameters

parentItem
ItemIdentifierType
includingParentItem
Boolean

Returns

Attributes

Applies to