Click or drag to resize
SqlHelperOrderByContains Method
Returns true if the order by expression contains column sorted the specified way.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static bool OrderByContains(
	string orderBy,
	string column,
	bool ascending
)

Parameters

orderBy
Type: SystemString
Order by expression to check
column
Type: SystemString
Column to check
ascending
Type: SystemBoolean
Direction

Return Value

Type: Boolean
See Also