JsonValue.Item[] 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.
Overloads
Item[Int32] | |
Item[String] |
Item[Int32]
public:
virtual property System::Json::JsonValue ^ default[int] { System::Json::JsonValue ^ get(int index); void set(int index, System::Json::JsonValue ^ value); };
public virtual System.Json.JsonValue this[int index] { get; set; }
member this.Item(int) : System.Json.JsonValue with get, set
Default Public Overridable Property Item(index As Integer) As JsonValue
Parameters
- index
- Int32
Property Value
Remarks
Note
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
Item[String]
public:
virtual property System::Json::JsonValue ^ default[System::String ^] { System::Json::JsonValue ^ get(System::String ^ key); void set(System::String ^ key, System::Json::JsonValue ^ value); };
public virtual System.Json.JsonValue this[string key] { get; set; }
member this.Item(string) : System.Json.JsonValue with get, set
Default Public Overridable Property Item(key As String) As JsonValue
Parameters
- key
- String
Property Value
Remarks
Note
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา