Binding.BindingManagerBase Binding.BindingManagerBase Binding.BindingManagerBase Binding.BindingManagerBase Property

정의

BindingManagerBaseBinding를 가져옵니다.Gets the BindingManagerBase for this Binding.

public:
 property System::Windows::Forms::BindingManagerBase ^ BindingManagerBase { System::Windows::Forms::BindingManagerBase ^ get(); };
public System.Windows.Forms.BindingManagerBase BindingManagerBase { get; }
member this.BindingManagerBase : System.Windows.Forms.BindingManagerBase
Public ReadOnly Property BindingManagerBase As BindingManagerBase

속성 값

예제

BindingManagerBase 다음 코드 예제에서는 Binding BindingManagerBase폼에 있는의를 모두 가져오고 각에 대 한 속성을인쇄합니다.PositionThe following code example gets the BindingManagerBase of every Binding on the form, and prints the Position property for each BindingManagerBase.

private:
   void PrintPositions()
   {
      for each ( Control^ c in this->Controls )
      {
         for each ( Binding^ xBinding in c->DataBindings )
         {
            Console::WriteLine(
               "{0}\t Position: {1}",
               c, xBinding->BindingManagerBase->Position );
         }
      }
   }
private void PrintPositions()
{
   foreach(Control c in this.Controls)
   {
      foreach(Binding xBinding in c.DataBindings)
      {
         Console.WriteLine
         (c.ToString() + "\t Position: " + 
         xBinding.BindingManagerBase.Position);
      }
   }
}

Private Sub PrintPositions
	Dim c As Control
	Dim xBinding As Binding
	For Each c In Me.Controls
		For Each xBinding In c.DataBindings
			Console.WriteLine(c.ToString & ControlChars.Tab & " Position: " & _
				xBinding.BindingManagerBase.Position)
		Next
	Next
End Sub

설명

속성 을Position 증가 또는 감소 시켜 데이터 바인딩된 목록을 반복 하려면를사용합니다.BindingManagerBaseUse the BindingManagerBase to iterate through a data-bound list by incrementing or decrementing the Position property. 추상 BindingManagerBase 클래스입니다.The BindingManagerBase class is abstract. 데이터 바인딩된 목록을 관리 하는 BindingManagerBase 클래스는클래스에서상속됩니다.CurrencyManagerThe CurrencyManager class, which manages data-bound lists, inherits from the BindingManagerBase class.

적용 대상