Binding.DataSource プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文
解説
使用例DataSource プロパティを使用して、DataSet を返すコード例を次に示します。
private void GetDataSource() { DataSet ds = (DataSet) text1.DataBindings[0].DataSource; Console.WriteLine(ds.Tables[0].TableName); }
private: void GetDataSource() { DataSet^ ds = dynamic_cast<DataSet^>(text1->DataBindings[nullptr]->DataSource); Console::WriteLine( ds->Tables[ 0 ]->TableName ); }
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からBinding.DataSource プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からBinding.DataSource プロパティ
を検索
- Binding.DataSource プロパティのページへのリンク