共用方式為


NSNumber.FromBoolean(Boolean) 方法

定義

從 bool 建立數位的 Factory 方法。

[Foundation.Export("numberWithBool:")]
public static Foundation.NSNumber FromBoolean (bool value);
static member FromBoolean : bool -> Foundation.NSNumber

參數

value
Boolean

傳回

屬性

適用於