共用方式為


NSMetadataQuery.EnumerateResultsUsingBlock 方法

定義

將回呼套用至每個結果。

[Foundation.Export("enumerateResultsUsingBlock:")]
[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 EnumerateResultsUsingBlock (Foundation.NSMetadataQueryEnumerationCallback callback);
abstract member EnumerateResultsUsingBlock : Foundation.NSMetadataQueryEnumerationCallback -> unit
override this.EnumerateResultsUsingBlock : Foundation.NSMetadataQueryEnumerationCallback -> unit

參數

屬性

適用於