This documentation is archived and is not being maintained.

HttpModuleActionCollection.CreateNewElement Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a new ConfigurationElement object for the collection.

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. (Inherited from ConfigurationElementCollection.)
Protected method CreateNewElement(String) Creates a new ConfigurationElement when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
Top

This method is intended for internal use only.

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.

Show: