Open sandboxFocus

Method GetValue

GetValue<T>(string, string)

Reads a value from the collection, and throws an exception if the value does not exist.

Declaration
T GetValue<T>(string name, string scope = null)
Parameters
Type Name Description
string name

Argument name.

string scope

An optional prefix of name, similar to a namespace.

Returns
Type Description
T

The value of the argument named name in the given optional scope.

Type Parameters
Name Description
T

Value type.