Share via


SortDescending Property

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

Gets or sets value that indicates whether to sort in ascending or descending order.

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

Syntax

'Declaration
Public Property SortDescending As Boolean
'Usage
Dim instance As SearchOptions
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 indicate to sort in descending order. false to indicate to sort in ascending order.

Remarks

A value that specifies whether to sort in ascending or descending order. By default the search is sorted in ascending order.

Permissions

See Also

Reference

SearchOptions Class

SearchOptions Members

Microsoft.CommerceServer Namespace