JsonElement.GetString 方法
定义
public:
System::String ^ GetString();
public string? GetString ();
public string GetString ();
member this.GetString : unit -> string
Public Function GetString () As String
返回
元素的值(String 形式)。The value of the element as a String.
例外
已释放父级 JsonDocument。The parent JsonDocument has been disposed.
注解
此方法不会创建 JSON 字符串以外的值的字符串表示形式。This method does not create a string representation of values other than JSON strings.