JsonObject.GetAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定索引的性質。
public:
System::Collections::Generic::KeyValuePair<System::String ^, System::Text::Json::Nodes::JsonNode ^> GetAt(int index);
public System.Collections.Generic.KeyValuePair<string,System.Text.Json.Nodes.JsonNode?> GetAt(int index);
member this.GetAt : int -> System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>
Public Function GetAt (index As Integer) As KeyValuePair(Of String, JsonNode)
參數
- index
- Int32
為 的對子的零基指數。
傳回
在指定索引處將屬性視為鍵值對。
例外狀況
index 小於 0 或大於或等於 Count。