Click or drag to resize
DataHelperGetNotEmpty Method
Returns second parameter if the first is null or "".

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static string GetNotEmpty(
	Object value,
	string defaultValue
)

Parameters

value
Type: SystemObject
defaultValue
Type: SystemString

Return Value

Type: String
See Also