SPDataSourceView.CanSort Property
Gets a Boolean value that indicates whether the current view supports sorting data.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides ReadOnly Property CanSort As Boolean
Get
'Usage
Dim instance As SPDataSourceView
Dim value As Boolean
value = instance.CanSort
public override bool CanSort { get; }
Property Value
Type: System.Boolean
true if the operation is supported; otherwise, false.
Remarks
The implementation of the CanSort property in the SPDataSourceView class always returns true.