JsonElement.GetPropertyCount 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前物件值中包含的屬性數量。
public:
int GetPropertyCount();
public int GetPropertyCount();
member this.GetPropertyCount : unit -> int
Public Function GetPropertyCount () As Integer
傳回
目前物件值中包含的屬性數量。
例外狀況
父母 JsonDocument 已被處理掉。