Edit

Share via


PHFetchResult.IndexOf Method

Definition

Overloads

IndexOf(NSObject)

The index of the object id in the PHFetchResult.

IndexOf(NSObject, NSRange)

Returns the lowest index of the object id within the specified range.

IndexOf(NSObject)

The index of the object id in the PHFetchResult.

[Foundation.Export("indexOfObject:")]
public virtual nint IndexOf (Foundation.NSObject id);
abstract member IndexOf : Foundation.NSObject -> nint
override this.IndexOf : Foundation.NSObject -> nint

Parameters

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to

IndexOf(NSObject, NSRange)

Returns the lowest index of the object id within the specified range.

[Foundation.Export("indexOfObject:inRange:")]
public virtual nint IndexOf (Foundation.NSObject id, Foundation.NSRange range);
abstract member IndexOf : Foundation.NSObject * Foundation.NSRange -> nint
override this.IndexOf : Foundation.NSObject * Foundation.NSRange -> nint

Parameters

range
NSRange

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to