Search Results for

    Show / Hide Table of Contents

    Class GenericConfigurationElementCollection<T>

    Represents a generic configuration element.

    Inheritance
    System.Object
    System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationElementCollection
    GenericConfigurationElementCollection<T>
    Implements
    System.Collections.ICollection
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Namespace: MySql.Data.MySqlClient
    Assembly: MySql.Data.dll
    Version: 9.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
    System.Configuration.ConfigurationElement
    Overrides
    System.Configuration.ConfigurationElementCollection.CreateNewElement()

    GetElementKey(ConfigurationElement)

    Declaration
    protected override object GetElementKey(ConfigurationElement element)
    Parameters
    Type Name Description
    System.Configuration.ConfigurationElement element
    Returns
    Type Description
    System.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.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    In This Article
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.