ListControlDesigner.DataBind(BaseDataBoundControl) メソッド

定義

指定したコントロールをデザイン時のデータ ソースにバインドします。

protected:
 override void DataBind(System::Web::UI::WebControls::BaseDataBoundControl ^ dataBoundControl);
protected override void DataBind (System.Web.UI.WebControls.BaseDataBoundControl dataBoundControl);
override this.DataBind : System.Web.UI.WebControls.BaseDataBoundControl -> unit
Protected Overrides Sub DataBind (dataBoundControl As BaseDataBoundControl)

パラメーター

dataBoundControl
BaseDataBoundControl

ListControl から派生した関連付けられたコントロール、またはそのコントロールのコピー。

注釈

基本クラスのDataBoundControlDesigner場合、 メソッドはDataBind、 オブジェクトの プロパティと DataSourceID プロパティをDataBoundControl設定DataSourceしてデザイン時データ ソースを参照し、 メソッドをBaseDataBoundControl.DataBind呼び出してから、 プロパティと DataSourceID プロパティを元の値に復元DataSourceします。

ただし、 クラスではListControlDesigner、 オブジェクトがコレクションにDataBind追加ItemsされたListItemだけなので、 メソッドには機能がありません。

適用対象

こちらもご覧ください