UIContextDataGetKeyValue Method |
Returns value assigned to given key
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax public Object GetKeyValue(
string key,
bool useQueryStringFallBack,
bool avoidInjection
)
Parameters
- key
- Type: SystemString
Key for assigned data - useQueryStringFallBack
- Type: SystemBoolean
Indicates whether data will be got from query string if not found in collection. - avoidInjection
- Type: SystemBoolean
If true, the resolving of the macros should avoid SQL injection (escapes the apostrophes in output).
Return Value
Type:
ObjectSee Also