SortEventArgs Constructor

Constructs a new SortEventArgs object.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Sub New ( _
    sortId As String, _
    sortDirection As SortOrder, _
    clearSort As Boolean _
)
'Usage
Dim sortId As String
Dim sortDirection As SortOrder
Dim clearSort As Boolean

Dim instance As New SortEventArgs(sortId, sortDirection, clearSort)
public SortEventArgs (
    string sortId,
    SortOrder sortDirection,
    bool clearSort
)
public:
SortEventArgs (
    String^ sortId, 
    SortOrder sortDirection, 
    bool clearSort
)
public SortEventArgs (
    String sortId, 
    SortOrder sortDirection, 
    boolean clearSort
)
public function SortEventArgs (
    sortId : String, 
    sortDirection : SortOrder, 
    clearSort : boolean
)

Parameters

  • sortId
    The ID of the sort action.
  • sortDirection
    A SortOrder enumeration value indicating the direction of the sort. The default value is none.
  • clearSort
    A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.

See Also

Reference

SortEventArgs Class
SortEventArgs Members
Microsoft.Reporting.WebForms Namespace