NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlBindingsCollection.Add

[To be supplied.]

Overload List

Adds the binding to the collection. An ArgumentNullException is thrown if this binding is null. 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 Sub Add(ListBinding)
[C#] public void Add(ListBinding);
[C++] public: void Add(ListBinding*);
[JScript] public function Add(ListBinding);

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(String, Object, String) As ListBinding
[C#] public ListBinding Add(String, Object, String);
[C++] public: ListBinding* Add(String*, Object, String*);
[JScript] public function Add(String, Object, String) : ListBinding;

See Also

ControlBindingsCollection Class | ControlBindingsCollection Members | System.WinForms Namespace