Class GenericConfigurationElementCollection<T>
Represents a generic configuration element.
Inheritance
System.Object
GenericConfigurationElementCollection<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public sealed class GenericConfigurationElementCollection<T> : ConfigurationElementCollection, IEnumerable<T>, IEnumerable where T : ConfigurationElement, new()
Type Parameters
Name | Description |
---|---|
T |
Methods
CreateNewElement()
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
ConfigurationElement |
GetElementKey(ConfigurationElement)
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationElement | element |
Returns
Type | Description |
---|---|
System.Object |
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.Generic.IEnumerable<T>
System.Collections.IEnumerable