DynamicControlParameter.GetWhereParameters(IDynamicDataSource) 方法

定義

傳回用來建立 Where 子句的參數集合,資料來源進行查詢時,會使用該子句。Returns the collection of parameters that are used to create a Where clause for when the data source is queried.

public:
 virtual System::Collections::Generic::IEnumerable<System::Web::UI::WebControls::Parameter ^> ^ GetWhereParameters(System::Web::DynamicData::IDynamicDataSource ^ dataSource);
public virtual System.Collections.Generic.IEnumerable<System.Web.UI.WebControls.Parameter> GetWhereParameters (System.Web.DynamicData.IDynamicDataSource dataSource);
abstract member GetWhereParameters : System.Web.DynamicData.IDynamicDataSource -> seq<System.Web.UI.WebControls.Parameter>
override this.GetWhereParameters : System.Web.DynamicData.IDynamicDataSource -> seq<System.Web.UI.WebControls.Parameter>
Public Overridable Function GetWhereParameters (dataSource As IDynamicDataSource) As IEnumerable(Of Parameter)

參數

dataSource
IDynamicDataSource

要取得其參數的 IDynamicDataSource 執行個體。The IDynamicDataSource instance to get the parameters from.

傳回

Parameter 物件的集合,表示特定 IDynamicDataSource 執行個體的查詢參數。A collection of Parameter objects that represent the query parameters for the specified IDynamicDataSource instance.

實作

適用於