BindingMemberInfo Structure
Contains information that enables a Binding to resolve a data binding to either the property of an object or the property of the current object in a list of objects.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The BindingMemberInfo is returned by the BindingMemberInfo property of the Binding class.
The BindingMemberInfo is created from the string passed to the BindingMemberInfo constructor.
The following code example prints the BindingPath, BindingField, BindingMember for each control on a form.
Private Sub PrintBindingMemberInfo() Dim c As Control Dim b As Binding For Each c In Me.Controls For Each b In c.DataBindings Console.WriteLine(ControlChars.Cr + c.ToString()) Dim bInfo As BindingMemberInfo = b.BindingMemberInfo Console.WriteLine("Binding Path " + ControlChars.Tab _ + bInfo.BindingPath) Console.WriteLine("Binding Field " + ControlChars.Tab _ + bInfo.BindingField) Console.WriteLine("Binding Member " + ControlChars.Tab _ + bInfo.BindingMember) Next b Next c End Sub
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.