This documentation is archived and is not being maintained.
DataBindingCollection Constructor
.NET Framework 1.1
Initializes a new instance of the DataBindingCollection class.
[Visual Basic] Public Sub New() [C#] public DataBindingCollection(); [C++] public: DataBindingCollection(); [JScript] public function DataBindingCollection();
Example
[Visual Basic] ' Use the DataBindingCollection constructor to ' create the myDataBindingCollection1 object. ' Then set this object equal to the ' DataBindings property of the control created ' by this custom designer. Dim myDataBindingCollection1 As New DataBindingCollection() myDataBindingCollection1 = DataBindings myDataBindingCollection = DataBindings [C#] // Use the DataBindingCollection constructor to // create the myDataBindingCollection1 object. // Then set this object equal to the // DataBindings property of the control created // by this custom designer. DataBindingCollection myDataBindingCollection1= new DataBindingCollection(); myDataBindingCollection1=myDataBindingCollection = DataBindings; [C++] // Use the DataBindingCollection constructor to // create the myDataBindingCollection1 object. // Then set this object equal to the // DataBindings property of the control created // by this custom designer. DataBindingCollection* myDataBindingCollection1 = new DataBindingCollection(); myDataBindingCollection1=myDataBindingCollection = DataBindings;
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DataBindingCollection Class | DataBindingCollection Members | System.Web.UI Namespace
Show: