Returns Boolean value from application settings.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- name
- Type: System..::.String
Setting name.
- defaultValue
- Type: System..::.Boolean
A default value.
Return Value
Settings value with name name, whether is not exist, returns defaultValue.
Remarks
Methods returns the value with name name from application settings
(AppSettings).
If the value does not exist or is not convertible to Boolean, returns defaultValue.