KeyValueConfigurationCollection::CreateNewElement Method ()
.NET Framework (current version)
When overridden in a derived class, the CreateNewElement method creates a new KeyValueConfigurationElement object.
Assembly: System.Configuration (in System.Configuration.dll)
Return Value
Type: System.Configuration::ConfigurationElement^A newly created KeyValueConfigurationElement.
Override the CreateNewElement method to create custom KeyValueConfigurationElement objects. When a collection is loaded from the configuration file, the CreateNewElement method is called to create individual elements. The CreateNewElement method must be overridden in classes that derive from the KeyValueConfigurationCollection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: