FilterStateGetInt32 Method |
Retrieves a 32-bit signed integer value from the filter state.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntaxpublic int GetInt32(
string name,
int defaultValue = 0
)
Parameters
- name
- Type: SystemString
The name associated with the value to retrieve. - defaultValue (Optional)
- Type: SystemInt32
The default value that will be returned if state doesn't contain value for specified name.
Return Value
Type:
Int32The 32-bit signed integer value associated with the specified name.
See Also