ServiceModelEnhancedConfigurationElementCollection<TConfigurationElement> Methods

The ServiceModelEnhancedConfigurationElementCollection<TConfigurationElement> type exposes the following members.

  NameDescription
Public method Add Adds the specified configuration element to this collection. (Inherited from ServiceModelConfigurationElementCollection<ConfigurationElementType>.)
Protected method BaseAdd Overloaded. Adds a ConfigurationElement to this collection.
Protected method BaseClear Removes all configuration element objects from the collection. (Inherited from ConfigurationElementCollection.)
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. (Inherited from ConfigurationElementCollection.)
Protected method BaseGetKey Gets the key for the ConfigurationElement at the specified index location. (Inherited from ConfigurationElementCollection.)
Protected method BaseIndexOf The index of the specified ConfigurationElement. (Inherited from ConfigurationElementCollection.)
Protected method BaseIsRemoved Gets a value indicating whether the ConfigurationElement with the specified key has been removed from the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
Protected method BaseRemove Removes a ConfigurationElement from the collection. (Inherited from ConfigurationElementCollection.)
Protected method BaseRemoveAt Removes the ConfigurationElement at the specified index location. (Inherited from ConfigurationElementCollection.)
Public method Clear Removes all the configuration elements from this collection. (Inherited from ServiceModelConfigurationElementCollection<ConfigurationElementType>.)
Public method ContainsKey Returns a boolean value that indicates whether this collection contains a configuration element with the specified key. (Inherited from ServiceModelConfigurationElementCollection<ConfigurationElementType>.)
Public method CopyTo Overloaded.
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.)
Public method Equals Compares the ConfigurationElementCollection to the specified object. (Inherited from ConfigurationElementCollection.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it 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. (Inherited from ConfigurationElementCollection.)
Public method GetEnumerator Infrastructure. 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 IndexOf Returns the zero-based index of the first occurrence of a configuration element in this collection. (Inherited from ServiceModelConfigurationElementCollection<ConfigurationElementType>.)
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. (Inherited from ConfigurationElementCollection.)
Protected method IsElementRemovable Gets a value indicating whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
Protected method IsModified Indicates whether this ConfigurationElementCollection has been modified since it was last saved or loaded when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
Public method IsReadOnly Gets a value indicating whether the ConfigurationElementCollection object is read only. (Inherited from ConfigurationElementCollection.)
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 Causes the configuration system to throw an exception. (Inherited from ConfigurationElementCollection.)
Protected method OnRequiredPropertyNotFound Throws an exception when 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.)
Public method Remove Removes the first occurrence of a specific configuration element from the collection. (Inherited from ServiceModelConfigurationElementCollection<ConfigurationElementType>.)
Public method RemoveAt Overloaded. Removes the configuration element at the specified index of this collection.
Protected method Reset Resets the ConfigurationElementCollection to its unmodified state when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
Protected method ResetModified Resets the value of the IsModified property to false when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
Protected method SerializeElement Writes the configuration data to an XML element in the configuration file when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
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 Infrastructure. Sets the IsReadOnly property for the ConfigurationElementCollection object and for all sub-elements. (Inherited from ConfigurationElementCollection.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method Unmerge Infrastructure. Reverses the effect of merging configuration information from different levels of the configuration hierarchy (Inherited from ConfigurationElementCollection.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft