Click or drag to resize
ForumViewerGetNotEmpty Method
Return text with dependence on input value, if value is null or empty returns not empty text parameter otherwise returns empy text parameter

Namespace: CMS.Forums.Web.UI
Assembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 10.0.0
Syntax
C#
public string GetNotEmpty(
	Object value,
	string notEmptyText,
	string emptyText,
	ForumActionType type
)

Parameters

value
Type: SystemObject
Input value
notEmptyText
Type: SystemString
Not empty text
emptyText
Type: SystemString
Empty text
type
Type: CMS.ForumsForumActionType
Forum action type

Return Value

Type: String
See Also