CMSAbstractUIWebpartGetIntContextValue Method |
Returns int property value. If value is empty, try to get it from UI context.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax protected int GetIntContextValue(
string name,
int defaultValue,
bool useSecure = false
)
Parameters
- name
- Type: SystemString
Property name - defaultValue
- Type: SystemInt32
Default value for empty properties - useSecure (Optional)
- Type: SystemBoolean
If true, secure mode is used for getting property (value is not get from query string when not found in collection)
Return Value
Type:
Int32See Also