Binding.IsBinding プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文
解説
使用例フォーム上の各 Binding の PropertyName 値および IsBinding 値を出力するコード例を次に示します。
Private Sub PrintBindingIsBinding Dim c As Control Dim b As Binding For Each c In Me.Controls For Each b in c.DataBindings Console.WriteLine (ControlChars.CrLf & c.ToString) Console.WriteLine (b.PropertyName & " IsBinding: " & _ b.IsBinding) Next Next End Sub
private void PrintBindingIsBinding() { foreach(Control c in this.Controls) { foreach(Binding b in c.DataBindings) { Console.WriteLine("\n" + c.ToString()); Console.WriteLine(b.PropertyName + " IsBinding: " + b.IsBinding); } } }
private: void PrintBindingIsBinding() { for each ( Control^ c in this->Controls ) { for each ( Binding^ b in c->DataBindings ) { Console::WriteLine( "\n {0}", c ); Console::WriteLine( "{0} IsBinding: {1}", b->PropertyName, b->IsBinding ); } } }
private void PrintBindingIsBinding() { for (int iCtr1 = 0; iCtr1 < this.get_Controls().get_Count(); iCtr1++) { Control c = this.get_Controls().get_Item(iCtr1); for (int iCtr2 = 0; iCtr2 < c.get_DataBindings().get_Count(); iCtr2++) { Binding b = c.get_DataBindings().get_Item(iCtr2); Console.WriteLine(("\n" + c.ToString())); Console.WriteLine((b.get_PropertyName() + " IsBinding: " + b.get_IsBinding())); } } } //PrintBindingIsBinding
プラットフォーム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.IsBinding プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からBinding.IsBinding プロパティ
を検索
- Binding.IsBinding プロパティのページへのリンク