Applies or removes a sorting for the execution based on a user sorting action.
Namespace:
PerpetuumSoft.ReportingServices.Viewer.ServerAssembly: PerpetuumSoft.ReportingServices.Viewer.Server (in PerpetuumSoft.ReportingServices.Viewer.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public override int Sort( string id, string elementId, SortDirectionEnum sortDirection, out ExceptionDetailBase reportError ) |
Visual Basic (Declaration) |
---|
Public Overrides Function Sort ( _ id As String, _ elementId As String, _ sortDirection As SortDirectionEnum, _ <OutAttribute> ByRef reportError As ExceptionDetailBase _ ) As Integer |
Visual C++ |
---|
public: virtual int Sort( String^ id, String^ elementId, SortDirectionEnum sortDirection, [OutAttribute] ExceptionDetailBase^% reportError ) override |
Parameters
- id
- Type: System..::.String
Report identifier./
- elementId
- Type: System..::.String
The element identifier to specify user sorting action.
- sortDirection
- Type: PerpetuumSoft.ReportingServices.Viewer.Server..::.SortDirectionEnum
Sorting direction (see SortDirectionEnum).
- reportError
- Type:
PerpetuumSoft.ReportingServices.Viewer.Server..::.ExceptionDetailBase
%
ExceptionDetailBase class.
Return Value
New page index.Implements
IReportService..::.Sort(String, String, SortDirectionEnum, ExceptionDetailBase%)Remarks
If error occurs then ReportError is not null.