JsonObjectTryGetValue Method
Tries to get the value associated with the specified
propertyName from the
JsonObject.
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public bool TryGetValue(
string propertyName,
out JsonValue value
)
Public Function TryGetValue (
propertyName As String,
<OutAttribute> ByRef value As JsonValue
) As Boolean
public:
virtual bool TryGetValue(
String^ propertyName,
[OutAttribute] JsonValue% value
) sealed
abstract TryGetValue :
propertyName : string *
value : JsonValue byref -> bool
override TryGetValue :
propertyName : string *
value : JsonValue byref -> bool
- propertyName String
- The name of the property to get.
- value JsonValue
- When this method returns, the value associated with the specified name, if the propertyName is found;
otherwise, Undefined. This parameter is passed uninitialized.
Boolean if the key was found in the
JsonObject; otherwise,
.
IDictionaryTKey, TValueTryGetValue(TKey, TValue)