PHFetchResult.IndexOf 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
IndexOf(NSObject) |
The index of the object |
IndexOf(NSObject, NSRange) |
Returns the lowest index of the object |
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
- id
- NSObject
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
- id
- NSObject
- range
- NSRange
Returns
System.System.IntPtr
System.nativeint
- Attributes