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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.