Returns string property value. If value is empty, try to get it from UI context.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- name
- Type: System String
Property name
- defaultValue (Optional)
- Type: System String
Default value for no items found
- 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)
- avoidInjection (Optional)
- Type: System Boolean
If true, the resolving of the macros should avoid SQL injection (escapes the apostrophes in output).
Return Value
Type: StringSee Also