JsonElement.GetBoolean 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得元素的值為 Boolean。
public:
bool GetBoolean();
public bool GetBoolean();
member this.GetBoolean : unit -> bool
Public Function GetBoolean () As Boolean
傳回
元素作為 Boolean的值。
例外狀況
父母 JsonDocument 已被處理掉。
備註
此方法不會解析 JSON 字串值的內容。