TryGetValue<T>(string, out T, string)
Attempts to read a value from the collection, and does not throw an exception if the value does not exist.
Declaration
bool TryGetValue<T>(string name, out T value, string scope = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Argument name. |
T | value | At output, set to the value of the argument named |
string | scope | An optional prefix of |
Returns
Type | Description |
---|---|
bool |
|
Type Parameters
Name | Description |
---|---|
T | Value type. |