Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / PropertyComparer<T> Class / PropertyComparer<T> Constructor / PropertyComparer<T> Constructor(String)
The property to be used for comparison. The property name may include ascending or descending specifier. For example Name ASC will sort by name property in ascending order and Name DESC will sort by name property in descending order
Version
PropertyComparer<T> Constructor(String)
Initializes a new instance of the PropertyComparer class.
Syntax
public PropertyComparer<T>( 
   string sortExpression
)

Parameters

sortExpression
The property to be used for comparison. The property name may include ascending or descending specifier. For example Name ASC will sort by name property in ascending order and Name DESC will sort by name property in descending order
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also