QueryHelperGetBoolean Method |
Returns the boolean representation of a query parameter or default value
if parameter is not boolean.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static bool GetBoolean(
string name,
bool defaultValue
)
Parameters
- name
- Type: SystemString
Query parameter - defaultValue
- Type: SystemBoolean
Default value
Return Value
Type:
BooleanSee Also