DataSourceSelectArguments Constructors
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 DataSourceSelectArguments class.
DataSourceSelectArguments() |
Initializes a new default instance of the DataSourceSelectArguments class. |
DataSourceSelectArguments(String) |
Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression. |
DataSourceSelectArguments(Int32, Int32) |
Initializes a new instance of the DataSourceSelectArguments class with the specified starting position and number of rows to return for paging scenarios. |
DataSourceSelectArguments(String, Int32, Int32) |
Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression, starting position, and number of rows to return for paging scenarios. |
Initializes a new default instance of the DataSourceSelectArguments class.
public:
DataSourceSelectArguments();
public DataSourceSelectArguments();
Public Sub New ()
Remarks
The parameterless constructor creates an instance of the class with the SortExpression property initialized to String.Empty and the StartRowIndex and MaximumRows properties initialized to zero.
See also
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression.
public:
DataSourceSelectArguments(System::String ^ sortExpression);
public DataSourceSelectArguments(string sortExpression);
new System.Web.UI.DataSourceSelectArguments : string -> System.Web.UI.DataSourceSelectArguments
Public Sub New (sortExpression As String)
Parameters
- sortExpression
- String
A sort expression that data source controls use to sort the result of a data retrieval operation before the result is returned to a caller.
Remarks
The DataSourceSelectArguments(String) constructor creates an instance of the class with the SortExpression initialized with the specified expression and the StartRowIndex and MaximumRows properties initialized to zero.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the DataSourceSelectArguments class with the specified starting position and number of rows to return for paging scenarios.
public:
DataSourceSelectArguments(int startRowIndex, int maximumRows);
public DataSourceSelectArguments(int startRowIndex, int maximumRows);
new System.Web.UI.DataSourceSelectArguments : int * int -> System.Web.UI.DataSourceSelectArguments
Public Sub New (startRowIndex As Integer, maximumRows As Integer)
Parameters
- startRowIndex
- Int32
The index of the data row that marks the beginning of data returned by a data retrieval operation.
- maximumRows
- Int32
The maximum number of rows that a data retrieval operation returns.
Remarks
The DataSourceSelectArguments(Int32, Int32) constructor creates an instance of the class with the SortExpression initialized to String.Empty and the StartRowIndex and MaximumRows properties initialized to the values provided for the startRowIndex
and maximumRows
parameters.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression, starting position, and number of rows to return for paging scenarios.
public:
DataSourceSelectArguments(System::String ^ sortExpression, int startRowIndex, int maximumRows);
public DataSourceSelectArguments(string sortExpression, int startRowIndex, int maximumRows);
new System.Web.UI.DataSourceSelectArguments : string * int * int -> System.Web.UI.DataSourceSelectArguments
Public Sub New (sortExpression As String, startRowIndex As Integer, maximumRows As Integer)
Parameters
- sortExpression
- String
A sort expression that data source controls use to sort the result of a data retrieval operation before the result is returned to a caller.
- startRowIndex
- Int32
The index of the data row that marks the beginning of data returned by a data retrieval operation.
- maximumRows
- Int32
The maximum number of rows that a data retrieval operation returns.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: