SortDescending Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets a value indicating whether a method should sort in ascending or descending order.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property SortDescending As Boolean
'Usage
Dim instance As CommonSearchOptions
Dim value As Boolean

value = instance.SortDescending

instance.SortDescending = value
public bool SortDescending { get; set; }
public:
property bool SortDescending {
    bool get ();
    void set (bool value);
}
public function get SortDescending () : boolean
public function set SortDescending (value : boolean)

Property Value

Type: System..::.Boolean
true to sort in descending order; otherwise false. Default is false,

Remarks

SortDescending applies only if one property is set in SortProperty property and neither the ASC nor DESC options is applied to that property.

Set the SortDescending property false to sort in ascending order; true to sort in descending order.

Permissions

See Also

Reference

CommonSearchOptions Class

CommonSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace