Share via


NSCoder.DecodeFloat(String) 方法

定义

将指定键处的值解码为浮点数。

[Foundation.Export("decodeFloatForKey:")]
public virtual float DecodeFloat (string key);
abstract member DecodeFloat : string -> single
override this.DecodeFloat : string -> single

参数

key
String

标识要解码的项的键。

返回

属性

适用于