Share via


SortAscending Property

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

NOTE: This API is now obsolete.

(Obsolete) 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
<ObsoleteAttribute("CommonSearchOptions.SortAscending is obsolete, please use CommonSearchOptions.SortDescending")> _
Public Property SortAscending As Boolean
'Usage
Dim instance As CommonSearchOptions
Dim value As Boolean

value = instance.SortAscending

instance.SortAscending = value
[ObsoleteAttribute("CommonSearchOptions.SortAscending is obsolete, please use CommonSearchOptions.SortDescending")]
public bool SortAscending { get; set; }
[ObsoleteAttribute(L"CommonSearchOptions.SortAscending is obsolete, please use CommonSearchOptions.SortDescending")]
public:
property bool SortAscending {
    bool get ();
    void set (bool value);
}
public function get SortAscending () : boolean
public function set SortAscending (value : boolean)

Property Value

Type: System..::.Boolean
true to sort in ascending order; otherwise false.

Remarks

SortAscending is obsolete, please use SortDescending.

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

Permissions

See Also

Reference

CommonSearchOptions Class

CommonSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace