Modifier

Partager via


NSProgress.FromTotalUnitCount Method

Definition

Overloads

FromTotalUnitCount(Int64)

Factory method that creates a new NSProgress, which is constructed as a child of the CurrentProgress, if non-null.

FromTotalUnitCount(Int64, NSProgress, Int64)

FromTotalUnitCount(Int64)

Factory method that creates a new NSProgress, which is constructed as a child of the CurrentProgress, if non-null.

[Foundation.Export("progressWithTotalUnitCount:")]
public static Foundation.NSProgress FromTotalUnitCount (long unitCount);
static member FromTotalUnitCount : int64 -> Foundation.NSProgress

Parameters

unitCount
Int64

Returns

Attributes

Applies to

FromTotalUnitCount(Int64, NSProgress, Int64)

[Foundation.Export("progressWithTotalUnitCount:parent:pendingUnitCount:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSProgress FromTotalUnitCount (long unitCount, Foundation.NSProgress parent, long portionOfParentTotalUnitCount);
static member FromTotalUnitCount : int64 * Foundation.NSProgress * int64 -> Foundation.NSProgress

Parameters

unitCount
Int64
parent
NSProgress
portionOfParentTotalUnitCount
Int64

Returns

Attributes

Applies to