Click or drag to resize
CMSAbstractUIWebpartGetIntContextValue Method
Returns int property value. If value is empty, try to get it from UI context.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax
C#
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: Int32
See Also