Method TryGetValue
TryGetValue(string, out string[])
Tries to get the array of values associated with the specified key.
public bool TryGetValue(string key, out string[] value)
Parameters
key
stringThe key for which to retrieve the values.
value
string[]When this method returns, contains the array of values associated with the specified key, or an empty array if the key is not found.
Returns
- bool
true
if the key was found and the values were retrieved; otherwise,false
.