NSMetadataQuery.EnumerateResultsWithOptions 方法

定义

使用指定选项将回调块应用于每个结果。

[Foundation.Export("enumerateResultsWithOptions:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EnumerateResultsWithOptions (Foundation.NSEnumerationOptions opts, Foundation.NSMetadataQueryEnumerationCallback block);
abstract member EnumerateResultsWithOptions : Foundation.NSEnumerationOptions * Foundation.NSMetadataQueryEnumerationCallback -> unit
override this.EnumerateResultsWithOptions : Foundation.NSEnumerationOptions * Foundation.NSMetadataQueryEnumerationCallback -> unit

参数

属性

适用于