Returns a value from the <appSettings> section of the Web.config file with the value converted to a target type.
![]()
The object associated with the key in the <appSettings> section of the Web.config file.
This method retrieves the appropriate value from the key/value pairs in the <appSettings> section of the Web.config file. The value is retrieved by getting the System.Configuration.ConfigurationManager.AppSettings property with the key as the index. The resulting string value is converted to a new type based on the targetType and propertyName parameters.