NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>.GetSnapshot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetSnapshot(ItemIdentifierType) | |
| GetSnapshot(ItemIdentifierType, Boolean) |
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