Creates the binding and adds it to the collection. An InvalidBindingException is thrown if this binding can't be constructed. An exception is thrown if a binding to the same target and Property as an existing binding or if the binding's column isn't a valid column given this DataSource.Table's schema. Fires the CollectionChangedEvent.
[Visual Basic] Overloads Public Function Add( _ ByVal propertyName As String, _ ByVal dataSource As Object, _ ByVal dataMember As String _ ) As ListBinding [C#] public ListBinding Add( string propertyName, object dataSource, string dataMember ); [C++] public: ListBinding* Add( String* propertyName, Object* dataSource, String* dataMember ); [JScript] public function Add( propertyName : String, dataSource : Object, dataMember : String ) : ListBinding;
the created binding.
ControlBindingsCollection Class | ControlBindingsCollection Members | System.WinForms Namespace | ControlBindingsCollection.Add Overload List