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

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