GridViewSortEventArgs(String, SortDirection) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the GridViewSortEventArgs class.
public:
GridViewSortEventArgs(System::String ^ sortExpression, System::Web::UI::WebControls::SortDirection sortDirection);
public GridViewSortEventArgs (string sortExpression, System.Web.UI.WebControls.SortDirection sortDirection);
new System.Web.UI.WebControls.GridViewSortEventArgs : string * System.Web.UI.WebControls.SortDirection -> System.Web.UI.WebControls.GridViewSortEventArgs
Public Sub New (sortExpression As String, sortDirection As SortDirection)
Parameters
- sortExpression
- String
The sort expression used to sort the items in the control.
- sortDirection
- SortDirection
A SortDirection that indicates the direction in which to sort the items in the control.
Remarks
Use this constructor to initialize a new instance of the GridViewSortEventArgs class.
The following table shows the initial property values for an instance of GridViewSortEventArgs.
Property | Initial value |
---|---|
SortDirection | The value of the sortDirection parameter. |
SortExpression | The value of the sortExpression parameter. |
Note
This constructor is used primarily by control developers when raising events.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기