Click or drag to resize
UIContextDataGetKeyValue Method
Returns value assigned to given key

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
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: Object
See Also