JsonValue.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- index
- Int32
属性值
注解
### 备注
备注
该 System.Json 命名空间是为不再受支持的 Silverlight 设计的。 若要处理 JSON,我们建议改用命名空间中的 System.Text.Json API。
适用于
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
参数
- key
- String
属性值
注解
### 备注
备注
该 System.Json 命名空间是为不再受支持的 Silverlight 设计的。 若要处理 JSON,我们建议改用命名空间中的 System.Text.Json API。