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
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
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