DataHelper
GetNotEmpty Method
Kentico 8.0 API Reference
Returns 2nd parametr if first is null or "".
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers
(in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
value
Type:
System
Object
defaultValue
Type:
System
String
Return Value
Type:
String
See Also
DataHelper Class
DataHelper Members
CMS.Helpers Namespace