JsonElement.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若當前值為 Array,則在指定索引處取得該值。
public:
property System::Text::Json::JsonElement default[int] { System::Text::Json::JsonElement get(int index); };
public System.Text.Json.JsonElement this[int index] { get; }
member this.Item(int) : System.Text.Json.JsonElement
Default Public ReadOnly Property Item(index As Integer) As JsonElement
參數
- index
- Int32
物品索引。
屬性值
指定索引的值。
例外狀況
index 不在範圍 [0, GetArrayLength()())。
父母 JsonDocument 已被處理掉。