Method TryGetValue
TryGetValue(string, out string)
Gets the value associated with the specified key.
Declaration
bool TryGetValue(string key, out string value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The key whose value to get. |
string | value | When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
bool |
|