Utf8JsonReader.TryGetSingle(Single) 方法
定义
public:
bool TryGetSingle([Runtime::InteropServices::Out] float % value);
public bool TryGetSingle (out float value);
member this.TryGetSingle : single -> bool
Public Function TryGetSingle (ByRef value As Single) As Boolean
参数
- value
- Single
在此方法返回时,包含已解析的值。When this method returns, contains the parsed value.
返回
如果可以将整个 UTF-8 编码令牌值成功解析为 Single 值,则为 true;否则为 false。true if the entire UTF-8 encoded token value can be successfully parsed to an Single value; otherwise, false.