ConfigurationAttribute Class
Represents a single property in a configuration element.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
| Name | Description | |
|---|---|---|
![]() | IsInheritedFromDefaultValue | Gets a value indicating whether the attribute value is the default value. |
![]() | IsProtected | Gets a value indicating whether the attribute value is encrypted. |
![]() | Name | Gets the name of the configuration attribute. |
![]() | Schema | Gets the schema object that is used for the configuration attribute. |
![]() | Value | Gets the value of the configuration attribute. |
| Name | Description | |
|---|---|---|
![]() | Delete() | Deletes the configuration attribute from the configuration section. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetMetadata(String) | Gets attribute metadata from the IIS 7 configuration system. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetMetadata(String, Object) | Sets attribute metadata in the IIS 7 configuration system. |
![]() | ToString() | (Inherited from Object.) |
The following example displays a few property values for the ConfigurationAttribute object. The example sets the metadata, commits the changes to the ApplicationHost.config file, and then gets the metadata.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


