Click or drag to resize
ValidationHelperLoadInteger Method
Attempts to load the given new value as an integer to the result. Returns true if the conversion of the new value was successful, if not, returns false and keeps the value the same.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static bool LoadInteger(
	ref int value,
	Object newValue
)

Parameters

value
Type: SystemInt32
Value to load
newValue
Type: SystemObject
New value

Return Value

Type: Boolean
See Also