PHFetchResult.Enumerate 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
Enumerate(NSEnumerationOptions, PHFetchResultEnumerator) |
Applies |
Enumerate(NSIndexSet, NSEnumerationOptions, PHFetchResultEnumerator) |
Applies |
Enumerate(PHFetchResultEnumerator) |
Applies |
Enumerate(NSEnumerationOptions, PHFetchResultEnumerator)
Applies handler
to each asset in the result, as filtered by opts
.
[Foundation.Export("enumerateObjectsWithOptions:usingBlock:")]
public virtual void Enumerate (Foundation.NSEnumerationOptions opts, Photos.PHFetchResultEnumerator handler);
abstract member Enumerate : Foundation.NSEnumerationOptions * Photos.PHFetchResultEnumerator -> unit
override this.Enumerate : Foundation.NSEnumerationOptions * Photos.PHFetchResultEnumerator -> unit
Parameters
- opts
- NSEnumerationOptions
- handler
- PHFetchResultEnumerator
- Attributes
Applies to
Enumerate(NSIndexSet, NSEnumerationOptions, PHFetchResultEnumerator)
Applies handler
to the objects at the indices in idx
.
[Foundation.Export("enumerateObjectsAtIndexes:options:usingBlock:")]
public virtual void Enumerate (Foundation.NSIndexSet idx, Foundation.NSEnumerationOptions opts, Photos.PHFetchResultEnumerator handler);
abstract member Enumerate : Foundation.NSIndexSet * Foundation.NSEnumerationOptions * Photos.PHFetchResultEnumerator -> unit
override this.Enumerate : Foundation.NSIndexSet * Foundation.NSEnumerationOptions * Photos.PHFetchResultEnumerator -> unit
Parameters
- idx
- NSIndexSet
- opts
- NSEnumerationOptions
- handler
- PHFetchResultEnumerator
- Attributes
Applies to
Enumerate(PHFetchResultEnumerator)
Applies handler
to each asset in the result.
[Foundation.Export("enumerateObjectsUsingBlock:")]
public virtual void Enumerate (Photos.PHFetchResultEnumerator handler);
abstract member Enumerate : Photos.PHFetchResultEnumerator -> unit
override this.Enumerate : Photos.PHFetchResultEnumerator -> unit
Parameters
- handler
- PHFetchResultEnumerator
- Attributes