GenericConfigurationElementCollection(T) Class

MySQL Connector/Net

GenericConfigurationElementCollectionT Class
Inheritance Hierarchy
SystemObject  System.ConfigurationConfigurationElement
    System.ConfigurationConfigurationElementCollection
      MySql.Data.MySqlClientGenericConfigurationElementCollectionT

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public sealed class GenericConfigurationElementCollection<T> : ConfigurationElementCollection, 
	IEnumerable<T>, IEnumerable
where T : new(), ConfigurationElement
Public NotInheritable Class GenericConfigurationElementCollection(Of T As {New, ConfigurationElement})
	Inherits ConfigurationElementCollection
	Implements IEnumerable(Of T), IEnumerable
generic<typename T>
where T : gcnew(), ConfigurationElement
public ref class GenericConfigurationElementCollection sealed : public ConfigurationElementCollection, 
	IEnumerable<T>, IEnumerable
[<SealedAttribute>]
type GenericConfigurationElementCollection<'T when 'T : new() and ConfigurationElement> =  
    class
        inherit ConfigurationElementCollection
        interface IEnumerable<'T>
        interface IEnumerable
    end

Type Parameters

T

The GenericConfigurationElementCollectionT type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyAddElementName
Gets or sets the name of the ConfigurationElement to associate with the add operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected propertyClearElementName
Gets or sets the name for the ConfigurationElement to associate with the clear operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public propertyCollectionType
Gets the type of the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Public propertyCount
Gets the number of elements in the collection.
(Inherited from ConfigurationElementCollection.)
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected propertyElementName
Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected propertyElementProperty
Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself.
(Inherited from ConfigurationElement.)
Public propertyEmitClear
Gets or sets a value that specifies whether the collection has been cleared.
(Inherited from ConfigurationElementCollection.)
Protected propertyEvaluationContext
Gets the ContextInformation object for the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected propertyHasContext
Gets a value that indicates whether the CurrentConfiguration property is null.
(Inherited from ConfigurationElement.)
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized.
(Inherited from ConfigurationElementCollection.)
Protected propertyItemConfigurationProperty
Gets or sets a property or attribute of this configuration element.
(Inherited from ConfigurationElement.)
Protected propertyItemString
Gets or sets a property, attribute, or child element of this configuration element.
(Inherited from ConfigurationElement.)
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Protected propertyProperties
Gets the collection of properties.
(Inherited from ConfigurationElement.)
Protected propertyRemoveElementName
Gets or sets the name of the ConfigurationElement to associate with the remove operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public propertySyncRoot
Gets an object used to synchronize access to the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected propertyThrowOnDuplicate
Gets a value indicating whether an attempt to add a duplicate ConfigurationElement to the ConfigurationElementCollection will cause an exception to be thrown.
(Inherited from ConfigurationElementCollection.)
Top
Methods
  NameDescription
Protected methodBaseAdd(ConfigurationElement)
Adds a configuration element to the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseAdd(ConfigurationElement, Boolean)
Adds a configuration element to the configuration element collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseAdd(Int32, ConfigurationElement)
Adds a configuration element to the configuration element collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseClear
Removes all configuration element objects from the collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGet(Object)
Returns the configuration element with the specified key.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGet(Int32)
Gets the configuration element at the specified index location.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGetAllKeys
Returns an array of the keys for all of the configuration elements contained in the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGetKey
Gets the key for the ConfigurationElement at the specified index location.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseIndexOf
Indicates the index of the specified ConfigurationElement.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseIsRemoved
Indicates whether the ConfigurationElement with the specified key has been removed from the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseRemove
Removes a ConfigurationElement from the collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseRemoveAt
Removes the ConfigurationElement at the specified index location.
(Inherited from ConfigurationElementCollection.)
Public methodCopyTo
Copies the contents of the ConfigurationElementCollection to an array.
(Inherited from ConfigurationElementCollection.)
Protected methodCreateNewElement (Overrides ConfigurationElementCollectionCreateNewElement.)
Protected methodCreateNewElement(String)
Creates a new ConfigurationElement when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodDeserializeElement
Reads XML from the configuration file.
(Inherited from ConfigurationElement.)
Public methodEquals
Compares the ConfigurationElementCollection to the specified object.
(Inherited from ConfigurationElementCollection.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetElementKey (Overrides ConfigurationElementCollectionGetElementKey(ConfigurationElement).)
Public methodGetEnumerator
Public methodGetHashCode
Gets a unique value representing the ConfigurationElementCollection instance.
(Inherited from ConfigurationElementCollection.)
Protected methodGetTransformedAssemblyString
Returns the transformed version of the specified assembly name.
(Inherited from ConfigurationElement.)
Protected methodGetTransformedTypeString
Returns the transformed version of the specified type name.
(Inherited from ConfigurationElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInit
Sets the ConfigurationElement object to its initial state.
(Inherited from ConfigurationElement.)
Protected methodInitializeDefault
Used to initialize a default set of values for the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected methodIsElementName
Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodIsElementRemovable
Indicates whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodIsModified
Indicates whether this ConfigurationElementCollection has been modified since it was last saved or loaded when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public methodIsReadOnly
Indicates whether the ConfigurationElementCollection object is read only.
(Inherited from ConfigurationElementCollection.)
Protected methodListErrors
Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list.
(Inherited from ConfigurationElement.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDeserializeUnrecognizedAttribute
Gets a value indicating whether an unknown attribute is encountered during deserialization.
(Inherited from ConfigurationElement.)
Protected methodOnDeserializeUnrecognizedElement
Causes the configuration system to throw an exception.
(Inherited from ConfigurationElementCollection.)
Protected methodOnRequiredPropertyNotFound
Throws an exception when a required property is not found.
(Inherited from ConfigurationElement.)
Protected methodPostDeserialize
Called after deserialization.
(Inherited from ConfigurationElement.)
Protected methodPreSerialize
Called before serialization.
(Inherited from ConfigurationElement.)
Protected methodReset
Resets the ConfigurationElementCollection to its unmodified state when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodResetModified
Resets the value of the IsModified property to false when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodSerializeElement
Writes the configuration data to an XML element in the configuration file when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodSerializeToXmlElement
Writes the outer tags of this configuration element to the configuration file when implemented in a derived class.
(Inherited from ConfigurationElement.)
Protected methodSetPropertyValue
Sets a property to the specified value.
(Inherited from ConfigurationElement.)
Protected methodSetReadOnly
Sets the IsReadOnly property for the ConfigurationElementCollection object and for all sub-elements.
(Inherited from ConfigurationElementCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnmerge
Reverses the effect of merging configuration information from different levels of the configuration hierarchy
(Inherited from ConfigurationElementCollection.)
Top
See Also