JsonObjectItem(String) Property
Gets or sets the value of a property by name. When the indexer is read, using a nonexistent
propertyName
returns
Undefined, just like in JavaScript.
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public JsonValue this[
string propertyName
] { get; set; }
Public Default Property Item (
propertyName As String
) As JsonValue
Get
Set
public:
virtual property JsonValue default[String^ propertyName] {
JsonValue get (String^ propertyName) sealed;
void set (String^ propertyName, JsonValue value) sealed;
}
abstract Item : JsonValue with get, set
override Item : JsonValue with get, set
- propertyName String
- The name of the property to get or set.
JsonValueThe value of the property with the specified
propertyName, or
Undefined if no such property is found.
IDictionaryTKey, TValueItemTKey