'Declaration Public Function Sort( _ ByVal sortID As String, _ ByVal direction As SortDirectionEnum, _ ByVal clear As Boolean, _ ByVal cancellationToken As CancellationToken _ ) As ReportPosition
public ReportPosition Sort( string sortID, SortDirectionEnum direction, bool clear, CancellationToken cancellationToken )
Parameters
- sortID
- The ID of the report item on which to sort.
- direction
- A SortDirectionEnum value containing the direction for the sort.
- clear
- Indicates whether all other existing sorts should be cleared.
- cancellationToken
- System.Threading.CancellationToken that can be used to cancel an action.
Return Value
ReportPosition object specifies position in the report where viewer should be focused after sorting.