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: 13.0.131
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