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 폼 및 인쇄에는 Position 각각에 대 한 속성 BindingManagerBase합니다.The 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

설명

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

적용 대상