DataHelperGetNotEmpty Method |
Returns second parameter if the first is null or "".
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetNotEmpty(
Object value,
string defaultValue
)
Parameters
- value
- Type: SystemObject
- defaultValue
- Type: SystemString
Return Value
Type:
StringSee Also