BaseConfigManagersetConfig Method (ConfigOptions, Int32) |
Set a config option
Namespace:
Kratos_3.Config
Assembly:
Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntaxpublic void setConfig(
ConfigOptions name,
int value
)
Public Sub setConfig (
name As ConfigOptions,
value As Integer
)
public:
virtual void setConfig(
ConfigOptions name,
int value
) sealed
abstract setConfig :
name : ConfigOptions *
value : int -> unit
override setConfig :
name : ConfigOptions *
value : int -> unit
Parameters
- name
- Type: ConfigOptions
The config option to set - value
- Type: SystemInt32
The value to set it to
ExceptionsException | Condition |
---|
ValueNotWithinBoundsException | Thrown if this config option has a minimum and maximum value defined, and the value passed is not within that range |
See Also