ListControlDesigner.DataBind メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ListControlDesigner.DataBind メソッドの意味・解説 

ListControlDesigner.DataBind メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

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

名前空間: System.Web.UI.Design.WebControls
アセンブリ: System.Design (system.design.dll 内)
構文構文

Protected Overrides Sub
 DataBind ( _
    dataBoundControl As BaseDataBoundControl _
)
Dim dataBoundControl As BaseDataBoundControl

Me.DataBind(dataBoundControl)
protected override void DataBind (
    BaseDataBoundControl dataBoundControl
)
protected:
virtual void DataBind (
    BaseDataBoundControl^ dataBoundControl
) override
protected void DataBind (
    BaseDataBoundControl dataBoundControl
)
protected override function DataBind (
    dataBoundControl : BaseDataBoundControl
)

パラメータ

dataBoundControl

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

解説解説

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

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

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ListControlDesigner クラス
ListControlDesigner メンバ
System.Web.UI.Design.WebControls 名前空間
ListItem
Items
ListControl
DataBoundControlDesigner.DataBind
DataBoundControlDesigner クラス
BaseDataBoundControl



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ListControlDesigner.DataBind メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ListControlDesigner.DataBind メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS