ConfigurationElementCollectionBase<T>.CreateNewElement(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new element by using the specified element name.
protected:
virtual T CreateNewElement(System::String ^ elementTagName);
protected virtual T CreateNewElement (string elementTagName);
abstract member CreateNewElement : string -> 'T
override this.CreateNewElement : string -> 'T
Protected Overridable Function CreateNewElement (elementTagName As String) As T
Parameters
- elementTagName
- String
The name of the element to create.
Returns
T
A reference to the strongly typed configuration element that was created.
Remarks
Both overloads of the CreateElement method call the CreateNewElement method.