JsonElement.ValueKind Property

Definition

Gets the type of the current JSON value.

public:
 property System::Text::Json::JsonValueKind ValueKind { System::Text::Json::JsonValueKind get(); };
public System.Text.Json.JsonValueKind ValueKind { get; }
member this.ValueKind : System.Text.Json.JsonValueKind
Public ReadOnly Property ValueKind As JsonValueKind

Property Value

The type of the current JSON value.

Exceptions

The parent JsonDocument has been disposed.

Applies to