Click or drag to resize
TransformationHelperIfDataSourceIsEmpty Method
Returns nonEmptyResult if specified data source is null or empty, else returns emptyResult.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public Object IfDataSourceIsEmpty(
	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