C-DEngine 5.105

TheCommonUtils..::..cdeGetAppSetting Method (String, String, Boolean, Boolean)

Note: This API is now obsolete.
Retrieves a setting from the App.config/web.config "Configuration" Settings

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


[ObsoleteAttribute]
public static string cdeGetAppSetting(
	string pSetting,
	string alt,
	bool IsEncrypted,
	bool IsAltDefault
)
<ObsoleteAttribute> _
Public Shared Function cdeGetAppSetting ( _
	pSetting As String, _
	alt As String, _
	IsEncrypted As Boolean, _
	IsAltDefault As Boolean _
) As String
[ObsoleteAttribute]
public:
static String^ cdeGetAppSetting(
	String^ pSetting, 
	String^ alt, 
	bool^ IsEncrypted, 
	bool^ IsAltDefault
)

Parameters

pSetting
Type: String
Key of the Configuration setting
alt
Type: String
Use this alternative if platform does not support the app.config
IsEncrypted
Type: Boolean
If true, the value is encrypted
IsAltDefault
Type: Boolean
If true, set the value to the Alternative

Return Value

The Value of the configuration setting