Share via


NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>.GetIndex Method

Definition

Overloads

GetIndex(ItemIdentifierType)

[Foundation.Export("indexOfItemIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetIndex(ItemIdentifierType itemIdentifier);
[<Foundation.Export("indexOfItemIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetIndex : 'ItemIdentifierType -> nativeint
override this.GetIndex : 'ItemIdentifierType -> nativeint

Parameters

itemIdentifier
ItemIdentifierType

Returns

IntPtr

nativeint

Attributes

Applies to

GetIndex(SectionIdentifierType)

[Foundation.Export("indexOfSectionIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetIndex(SectionIdentifierType sectionIdentifier);
[<Foundation.Export("indexOfSectionIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetIndex : 'SectionIdentifierType -> nativeint
override this.GetIndex : 'SectionIdentifierType -> nativeint

Parameters

sectionIdentifier
SectionIdentifierType

Returns

IntPtr

nativeint

Attributes

Applies to