Click or drag to resize
TransformationHelperIfEmpty Method
Returns nonEmptyResult if value is null or empty, else returns emptyResult.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public Object IfEmpty(
	Object value,
	Object emptyResult,
	Object nonEmptyResult
)

Parameters

value
Type: SystemObject
Conditional value
emptyResult
Type: SystemObject
Empty value result
nonEmptyResult
Type: SystemObject
Non empty value result

Return Value

Type: Object
See Also