Share via


NSCoder.DecodeBool(String) 方法

定义

将指定键处的值解码为 bool。

[Foundation.Export("decodeBoolForKey:")]
public virtual bool DecodeBool (string key);
abstract member DecodeBool : string -> bool
override this.DecodeBool : string -> bool

参数

key
String

标识要解码的项的键。

返回

属性

适用于