NameValueConfigurationCollection Members

Contains a collection of NameValueConfigurationElement objects. This class cannot be inherited.

The following tables list the members exposed by the NameValueConfigurationCollection type.

  Name Description
Public method NameValueConfigurationCollection Initializes a new instance of the NameValueConfigurationCollection class.

  Name Description
Public property AllKeys Gets the keys to all items contained in the NameValueConfigurationCollection.
Public property CollectionType  Gets the type of the ConfigurationElementCollection.(Inherited from ConfigurationElementCollection.)
Public property Count  Gets the number of elements in the collection.(Inherited from ConfigurationElementCollection.)
Public property ElementInformation  Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Inherited from ConfigurationElement.)
Public property EmitClear  Specifies whether the collection has been cleared.(Inherited from ConfigurationElementCollection.)
Public property IsSynchronized  Gets a value indicating whether access to the collection is synchronized (thread safe).(Inherited from ConfigurationElementCollection.)
Public property Item Gets or sets the NameValueConfigurationElement object based on the supplied parameter.
Public property LockAllAttributesExcept  Gets the collection of locked attributes.(Inherited from ConfigurationElement.)
Public property LockAllElementsExcept  Gets the collection of locked elements.(Inherited from ConfigurationElement.)
Public property LockAttributes  Gets the collection of locked attributes (Inherited from ConfigurationElement.)
Public property LockElements  Gets the collection of locked elements.(Inherited from ConfigurationElement.)
Public property LockItem  Gets or sets a value indicating whether the element is locked.(Inherited from ConfigurationElement.)
Public property SyncRoot  Gets an object used to synchronize access to the ConfigurationElementCollection.(Inherited from ConfigurationElementCollection.)

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

  Name Description
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 MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Community Additions