Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: bool TryGetValue(string, out JsonValue)

Declaration

public override bool TryGetValue(
    string key,
    out JsonValue value
)

Summary

Attempts to retrieve the value associated with the specified key.

Parameters

stringkey The key for which to try to retrieve the value.
out JsonValuevalue Receives the value associated with the specified key, or null if the key is not in the dictionary. (Note that null may also be a valid value in case of success.)

Returns

True if the key was in the dictionary; otherwise, false.