JsonElement.Item[Int32] Property
Definition
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 value at the specified index if the current value is an 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
Parameters
- index
- Int32
The item index.
Property Value
The value at the specified index.
Exceptions
index
is not in the range [0, GetArrayLength()()).
The parent JsonDocument has been disposed.
Applies to
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.
Comentaris
https://aka.ms/ContentUserFeedback.
Properament: al llarg del 2024 eliminarem gradualment GitHub Issues com a mecanisme de retroalimentació del contingut i el substituirem per un nou sistema de retroalimentació. Per obtenir més informació, consulteu:Envieu i consulteu els comentaris de