Export (0) Print
Expand All

ConfigurationElementCollection Methods

(see also Protected Methods )
  Name Description
Public method CopyTo Copies the contents of the ConfigurationElementCollection to an array.
Public method Equals Overloaded. Overridden. Compares the ConfigurationElementCollection to the specified object.
Public method GetEnumerator Gets an IEnumerator which is used to iterate through the ConfigurationElementCollection.
Public method GetHashCode Overridden. Gets a unique value representing the ConfigurationElementCollection instance.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsReadOnly Overridden. Gets a value indicating whether the ConfigurationElementCollection object is read only.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method BaseAdd Overloaded. Adds a ConfigurationElement to an ConfigurationElementCollection instance when overridden in a derived class.
Protected method BaseClear Removes all configuration element objects from the collection.
Protected method BaseGet Overloaded. Gets the ConfigurationElement at the specified index location.
Protected method BaseGetAllKeys Returns an array of the keys for all of the configuration elements contained in the ConfigurationElementCollection.
Protected method BaseGetKey Gets the key for the ConfigurationElement at the specified index location.
Protected method BaseIndexOf The index of the specified ConfigurationElement.
Protected method BaseIsRemoved Gets a value indicating whether the ConfigurationElement with the specified key has been removed from the ConfigurationElementCollection.
Protected method BaseRemove Removes a ConfigurationElement from the collection.
Protected method BaseRemoveAt Removes the ConfigurationElement at the specified index location.
Protected method CreateNewElement Overloaded. When overridden in a derived class, creates a new ConfigurationElement.
Protected method DeserializeElement  Reads XML from the configuration file. (Inherited from ConfigurationElement.)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetElementKey Gets the element key for a specified configuration element when overridden in a derived class.
Protected method Init  Sets the ConfigurationElement object to its initial state. (Inherited from ConfigurationElement.)
Protected method InitializeDefault  Used to initialize a default set of values for the ConfigurationElement object. (Inherited from ConfigurationElement.)
Protected method IsElementName Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.
Protected method IsElementRemovable Gets a value indicating whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection.
Protected method IsModified Overridden. Indicates whether this ConfigurationElementCollection has been modified since it was last saved or loaded when overridden in a derived class.
Protected method ListErrors  Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Inherited from ConfigurationElement.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDeserializeUnrecognizedAttribute  Gets a value indicating whether an unknown attribute is encountered during deserialization. (Inherited from ConfigurationElement.)
Protected method OnDeserializeUnrecognizedElement Overridden. Causes the configuration system to throw an exception.
Protected method OnRequiredPropertyNotFound  Gets a value indicating whether a required property is not found. (Inherited from ConfigurationElement.)
Protected method PostDeserialize  Called after deserialization. (Inherited from ConfigurationElement.)
Protected method PreSerialize  Called before serialization. (Inherited from ConfigurationElement.)
Protected method Reset Overridden. Resets the ConfigurationElementCollection to its unmodified state when overridden in a derived class.
Protected method ResetModified Overridden. Resets the value of the IsModified property to false when overridden in a derived class.
Protected method SerializeElement Overridden. Writes the configuration data to an XML element in the configuration file when overridden in a derived class.
Protected method SerializeToXmlElement  Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Inherited from ConfigurationElement.)
Protected method SetPropertyValue  Sets a property to the specified value. (Inherited from ConfigurationElement.)
Protected method SetReadOnly Overridden. Sets the IsReadOnly property for the ConfigurationElementCollection object and for all sub-elements.
Protected method Unmerge Overridden. Reverses the effect of merging configuration information from different levels of the configuration hierarchy
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the ConfigurationElementCollection to an array.
Top

Community Additions

ADD
Show:
© 2014 Microsoft