Click or drag to resize
JsonObjectTryGetValue Method
Gets the value associated with the specified key.

Namespace: Dextronet.Jsonie
Assembly: Dextronet.Jsonie (in Dextronet.Jsonie.dll) Version: 1.0.0.0
Syntax
public bool TryGetValue(
	string key,
	ref JsonValue value
)

Parameters

key
Type: SystemString
The key of the member to get.
value
Type: Dextronet.JsonieJsonValue
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.

Return Value

Type: Boolean
true if object contains member with specified key, false otherwise.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also