IAppConfigGetBoolean Method |
Gets the effective value of the specified configuration setting as a Boolean.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxbool GetBoolean(
Guid settingId
)
Function GetBoolean (
settingId As Guid
) As Boolean
bool GetBoolean(
Guid settingId
)
abstract GetBoolean :
settingId : Guid -> bool
Parameters
- settingId
- Type: SystemGuid
The ID of the setting.
Return Value
Type:
Boolean
The effective value of the setting with the specified ID.
Exceptions| Exception | Condition |
|---|
| InvalidCastException | The value for the specified setting is not a Boolean. |
| ArgumentException | settingId is Empty. |
| NotFoundException | There was no registered setting corresponding to the provided setting ID. |
See Also