編輯

共用方式為


NSMeasurementFormatter.ToString Method

Definition

Overloads

ToString(NSMeasurement<NSUnit>)

Returns a string representation of the value of the current instance.

ToString(NSUnit)

Returns a string representation of the value of the current instance.

ToString(NSMeasurement<NSUnit>)

Returns a string representation of the value of the current instance.

[Foundation.Export("stringFromMeasurement:")]
public virtual string ToString (Foundation.NSMeasurement<Foundation.NSUnit> measurement);
override this.ToString : Foundation.NSMeasurement<Foundation.NSUnit> -> string

Parameters

measurement
NSMeasurement<NSUnit>

Returns

Attributes

Applies to

ToString(NSUnit)

Returns a string representation of the value of the current instance.

[Foundation.Export("stringFromUnit:")]
public virtual string ToString (Foundation.NSUnit unit);
override this.ToString : Foundation.NSUnit -> string

Parameters

unit
NSUnit

Returns

Attributes

Applies to