Open sandboxFocus

Method SetValue

SetValue(string, object?, string?)

Sets the value of an argument.

Declaration
void SetValue(string name, object? value, string? scope = null)
Parameters
Type Name Description
string name

Argument name.

object value

Argument value. The value can be null or must be serializable.

string scope

An optional prefix of name, similar to a namespace.