編集

次の方法で共有


NSProgress.PerformAsCurrent(Int64, Action) Method

Definition

[Foundation.Export("performAsCurrentWithPendingUnitCount:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformAsCurrent (long unitCount, Action work);
abstract member PerformAsCurrent : int64 * Action -> unit
override this.PerformAsCurrent : int64 * Action -> unit

Parameters

unitCount
Int64
work
Action
Attributes

Applies to