編輯

共用方式為


PHFetchResult.Enumerate Method

Definition

Overloads

Enumerate(NSEnumerationOptions, PHFetchResultEnumerator)

Applies handler to each asset in the result, as filtered by opts.

Enumerate(NSIndexSet, NSEnumerationOptions, PHFetchResultEnumerator)

Applies handler to the objects at the indices in idx.

Enumerate(PHFetchResultEnumerator)

Applies handler to each asset in the result.

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

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

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

Attributes

Applies to