DataSourceElementCollection.CreateNewElement Method
Include Protected Members
Include Inherited Members
When overridden in a derived class, creates a new ConfigurationElement.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name
Description
When overridden in a derived class, creates a new ConfigurationElement. (Inherited from ConfigurationElementCollection.)
Creates a new ConfigurationElement when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
Top
Remarks
Override the CreateNewElement method to create custom ConfigurationElement objects of a specific type. When a collection is loaded from the configuration file, CreateNewElement is called to create individual elements. CreateNewElement must be overridden in classes that derive from the ConfigurationElementCollection class.
See Also
Reference
DataSourceElementCollection Class