Share via


SortProperty Property

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

Gets or sets a concatenated string representing the current SortProperties string collection.

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

Syntax

'Declaration
Public Property SortProperty As String
'Usage
Dim instance As CommonSearchOptions
Dim value As String

value = instance.SortProperty

instance.SortProperty = value
public string SortProperty { get; set; }
public:
property String^ SortProperty {
    String^ get ();
    void set (String^ value);
}
public function get SortProperty () : String
public function set SortProperty (value : String)

Property Value

Type: System..::.String
The name of the property on which to sort results datasets.

Remarks

Get converts the current SortProperties string collection to a concatenated string consisting of all the individual sort properties separated by comma delimiters. Set accepts the concatenated string and returns a SortProperties collection.

Permissions

See Also

Reference

CommonSearchOptions Class

CommonSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace