Click or drag to resize
CMSAbstractUIWebpart.GetIntContextValue 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: 13.0.131
Syntax
C#
protected int GetIntContextValue(
	string name,
	int defaultValue,
	bool useSecure = false
)

Parameters

name
Type: System.String
Property name
defaultValue
Type: System.Int32
Default value for empty properties
useSecure (Optional)
Type: System.Boolean
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