ConfigurationAttribute Class

IIS 7.0
 

Represents a single property in a configuration element.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

System.Object
  Microsoft.Web.Administration.ConfigurationAttribute

public class ConfigurationAttribute

NameDescription
System_CAPS_pubpropertyIsInheritedFromDefaultValue

Gets a value indicating whether the attribute value is the default value.

System_CAPS_pubpropertyIsProtected

Gets a value indicating whether the attribute value is encrypted.

System_CAPS_pubpropertyName

Gets the name of the configuration attribute.

System_CAPS_pubpropertySchema

Gets the schema object that is used for the configuration attribute.

System_CAPS_pubpropertyValue

Gets the value of the configuration attribute.

NameDescription
System_CAPS_pubmethodDelete()

Deletes the configuration attribute from the configuration section.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetadata(String)

Gets attribute metadata from the IIS 7 configuration system.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetMetadata(String, Object)

Sets attribute metadata in the IIS 7 configuration system.

System_CAPS_pubmethodToString()

(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.

Return to top
Show: