BdcDataSource.Sort Property

Gets or sets the column names by which to sort the returned data and the sort order.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Property Sort As String
    Get
    Set
'Usage
Dim instance As BdcDataSource
Dim value As String

value = instance.Sort

instance.Sort = value
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public string Sort { get; set; }

Property Value

Type: System.String
A String object.

Remarks

The value of this property can contain one or more column names followed by "ASC" (for ascending) or "DESC" (for descending). By default, columns are sorted in ascending order. Use commas to separate multiple column names.

See Also

Reference

BdcDataSource Class

BdcDataSource Members

Microsoft.SharePoint.WebControls Namespace