語言

DataSourceSelectArguments 建構函式

定義

初始化 DataSourceSelectArguments 類別的新執行個體。

多載

名稱 Description
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.EmptyStartRowIndex ,屬性 MaximumRows 初始化為零。

另請參閱

適用於

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初始化後以指定的表達式,且StartRowIndex屬性MaximumRows初始化為零。

適用於

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初始化為 和 參數所提供的startRowIndexmaximumRows值。

適用於

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

資料檢索操作回傳的最大列數。

適用於