Click or drag to resize
ForumViewerIFCompare Method
Returns true or false rusult with dependence on bool condition.

Namespace: CMS.Forums.Web.UI
Assembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static string IFCompare(
	bool operand,
	string trueResult,
	string falseResult
)

Parameters

operand
Type: SystemBoolean
Bool condition
trueResult
Type: SystemString
True result
falseResult
Type: SystemString
False result

Return Value

Type: String
See Also