TransformationMethodsIfDataSourceIsEmpty Method |
Returns nonEmptyResult if specified data source is null or empty, else returns emptyResult.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax public static Object IfDataSourceIsEmpty(
EvaluationContext context,
params Object[] parameters
)
Parameters
- context
- Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver - parameters
- Type: SystemObject
Method parameters
Return Value
Type:
ObjectSee Also