Export (0) Print
Expand All

ConfigurationElementCollection.CreateNewElement Method

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.

  NameDescription
Protected method CreateNewElement() When overridden in a derived class, creates a new ConfigurationElement.
Protected method CreateNewElement(String) Creates a new ConfigurationElement when overridden in a derived class.
Top

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.

Community Additions

ADD
Show:
© 2015 Microsoft