ICON Software Solutions
Icon.Configuration.AppSettings Method

Namespace:  Icon
Assembly:  Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)

Syntax

C#
public static string AppSettings(
	string key
)
Visual Basic (Declaration)
Public Shared Function AppSettings ( _
	key As String _
) As String
Visual C++
public:
static String^ AppSettings(
	String^ key
)
J#
public static String AppSettings(
	String key
)

Parameters

key
Type: System..::.String
The application settings key to be returned.

Return Value

The application configuration setting either from the config file or the database.

Remarks

Use this method to get the application configuration setting either from the config file or the database. The method checks the cache store first, then the web.config file then the database.

See Also