DataSourceSelectArguments 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DataSourceSelectArguments 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| DataSourceSelectArguments() |
初始化类的新默认实例 DataSourceSelectArguments 。 |
| DataSourceSelectArguments(String) |
使用指定的排序表达式初始化类的新实例 DataSourceSelectArguments 。 |
| DataSourceSelectArguments(Int32, Int32) |
使用指定的起始位置和要为分页方案返回的行数初始化类的新实例 DataSourceSelectArguments 。 |
| DataSourceSelectArguments(String, Int32, Int32) |
使用指定的排序表达式、起始位置和要为分页方案返回的行数初始化类的新实例 DataSourceSelectArguments 。 |
DataSourceSelectArguments()
初始化类的新默认实例 DataSourceSelectArguments 。
public:
DataSourceSelectArguments();
public DataSourceSelectArguments();
Public Sub New ()
注解
无参数构造函数创建一个类的实例,该SortExpression实例的属性初始化为 String.Empty 0,并且StartRowIndexMaximumRows属性初始化为零。
另请参阅
适用于
DataSourceSelectArguments(String)
使用指定的排序表达式初始化类的新实例 DataSourceSelectArguments 。
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)
参数
- sortExpression
- String
数据源控件用于在结果返回到调用方之前对数据检索操作的结果进行排序的排序表达式。
注解
构造DataSourceSelectArguments(String)函数创建类的实例,该SortExpression实例使用指定的表达式进行初始化,并将StartRowIndexMaximumRows属性初始化为零。
适用于
DataSourceSelectArguments(Int32, Int32)
使用指定的起始位置和要为分页方案返回的行数初始化类的新实例 DataSourceSelectArguments 。
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)
参数
- startRowIndex
- Int32
数据行的索引,用于标记数据检索操作返回的数据的开头。
- maximumRows
- Int32
数据检索操作返回的最大行数。
注解
构造DataSourceSelectArguments(Int32, Int32)函数创建一个类的实例,该SortExpression实例初始化为 String.EmptyStartRowIndex ,以及MaximumRows初始化为参数maximumRows提供startRowIndex的值的属性。
适用于
DataSourceSelectArguments(String, Int32, Int32)
使用指定的排序表达式、起始位置和要为分页方案返回的行数初始化类的新实例 DataSourceSelectArguments 。
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)
参数
- sortExpression
- String
数据源控件用于在结果返回到调用方之前对数据检索操作的结果进行排序的排序表达式。
- startRowIndex
- Int32
数据行的索引,用于标记数据检索操作返回的数据的开头。
- maximumRows
- Int32
数据检索操作返回的最大行数。