Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains a key/value pair that represents a setting for a Web application.
Syntax
class KeyValueElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the KeyValueElement class.
| Name | Description | 
|---|---|
| Key | A required unique read/write string value that contains the name of an application setting. The key property. | 
| Value | A read/write string value that contains the value for the application setting specified in the Key property. | 
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are exposed as members of the Settings property of the AppSettingsSection class.
Inheritance Hierarchy
KeyValueElement
Requirements
| Type | Description | 
|---|---|
| Client | Requires IIS 7 on Windows Vista. | 
| Server | Requires IIS 7 on Windows Server 2008. | 
| Product | IIS 7 | 
| MOF file | WebAdministration.mof |