ConfigurationElement Methods
Assembly: System.Configuration (in System.Configuration.dll)
| Name | Description | |
|---|---|---|
![]() | DeserializeElement(XmlReader, Boolean) | Reads XML from the configuration file. |
![]() | Equals(Object) | Compares the current ConfigurationElement instance to the specified object.(Overrides Object.Equals(Object).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Gets a unique value representing the current ConfigurationElement instance.(Overrides Object.GetHashCode().) |
![]() | GetTransformedAssemblyString(String) | Returns the transformed version of the specified assembly name. |
![]() | GetTransformedTypeString(String) | Returns the transformed version of the specified type name. |
![]() | GetType() | |
![]() | Init() | Sets the ConfigurationElement object to its initial state. |
![]() | InitializeDefault() | Used to initialize a default set of values for the ConfigurationElement object. |
![]() | IsModified() | Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class. |
![]() | IsReadOnly() | Gets a value indicating whether the ConfigurationElement object is read-only. |
![]() | ListErrors(IList) | Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. |
![]() | MemberwiseClone() | |
![]() | OnDeserializeUnrecognizedAttribute(String, String) | Gets a value indicating whether an unknown attribute is encountered during deserialization. |
![]() | OnDeserializeUnrecognizedElement(String, XmlReader) | Gets a value indicating whether an unknown element is encountered during deserialization. |
![]() | OnRequiredPropertyNotFound(String) | Throws an exception when a required property is not found. |
![]() | PostDeserialize() | Called after deserialization. |
![]() | PreSerialize(XmlWriter) | Called before serialization. |
![]() | Reset(ConfigurationElement) | Resets the internal state of the ConfigurationElement object, including the locks and the properties collections. |
![]() | ResetModified() | Resets the value of the IsModified method to false when implemented in a derived class. |
![]() | SerializeElement(XmlWriter, Boolean) | Writes the contents of this configuration element to the configuration file when implemented in a derived class. |
![]() | SerializeToXmlElement(XmlWriter, String) | Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. |
![]() | SetPropertyValue(ConfigurationProperty, Object, Boolean) | Sets a property to the specified value. |
![]() | SetReadOnly() | Sets the IsReadOnly property for the ConfigurationElement object and all subelements. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) | Modifies the ConfigurationElement object to remove all values that should not be saved. |

