Читати англійською Редагувати

Поділитися через


JsonObject.Item[String] Property

Definition

Gets or sets the element with the specified key.

public override sealed System.Json.JsonValue this[string key] { get; set; }

Parameters

key
String

The key of the element to get or set.

Property Value

The element with the specified key.

Implements

Remarks

Примітка

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Продукт Версії
.NET 6 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)