Class GenericConfigurationElementCollection<T>
Represents a generic configuration element.
Inheritance
System.Configuration.ConfigurationElementCollection
GenericConfigurationElementCollection<T>
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 8.3.0
Syntax
public sealed class GenericConfigurationElementCollection<T> : ConfigurationElementCollection, ICollection, IEnumerable<T>, IEnumerable where T : ConfigurationElement, new()
Type Parameters
Name | Description |
---|---|
T |
Methods
CreateNewElement()
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
ConfigurationElement |
Overrides
System.Configuration.ConfigurationElementCollection.CreateNewElement()
GetElementKey(ConfigurationElement)
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationElement | element |
Returns
Type | Description |
---|---|
Object |
Overrides
System.Configuration.ConfigurationElementCollection.GetElementKey(System.Configuration.ConfigurationElement)
GetEnumerator()
Gets an enumerator that iterates through the returned list.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> | An enumerator that iterates through the returned list. |
Implements
System.Collections.ICollection
System.Collections.IEnumerable