Visual Basic (Declaration) | |
---|---|
Protected Overloads Overrides Function CreateNewElement( _ ByVal elementName As String _ ) As ConfigurationElement |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ExtensibleConfigurationElementCollection(Of TElement) Dim elementName As String Dim value As ConfigurationElement value = instance.CreateNewElement(elementName) |
C# | |
---|---|
protected override ConfigurationElement CreateNewElement( string elementName ) |
C++/CLI | |
---|---|
protected: ConfigurationElement^ CreateNewElement( String^ elementName ) override |
Parameters
- elementName
- The name of the System.Configuration.ConfigurationElement to create.
Return Value
A new System.Configuration.ConfigurationElement with a specified name.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2