JsonObject.GetAt(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the property of the specified index.
public:
System::Collections::Generic::KeyValuePair<System::String ^, System::Text::Json::Nodes::JsonNode ^> GetAt(int index);
C#
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
The zero-based index of the pair to get.
The property at the specified index as a key/value pair.
index
is less than 0 or greater than or equal to Count.
Продукт | Версії |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: