C-DEngine 5.105

TheCDESettings..::..GetAppSetting Method

Gets a setting from the Settings Factory of the C-DEngine

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

Syntax


public virtual string GetAppSetting(
	string pSetting,
	string alt,
	bool IsEncrypted,
	bool IsAltDefault,
	Nullable<Guid> pOwner
)
Public Overridable Function GetAppSetting ( _
	pSetting As String, _
	alt As String, _
	IsEncrypted As Boolean, _
	IsAltDefault As Boolean, _
	pOwner As Nullable(Of Guid) _
) As String
public:
virtual String^ GetAppSetting(
	String^ pSetting, 
	String^ alt, 
	bool^ IsEncrypted, 
	bool^ IsAltDefault, 
	Nullable<Guid^> pOwner
)

Parameters

pSetting
Type: String
Key of the setting
alt
Type: String
If not found, this function returns this alternative
IsEncrypted
Type: Boolean
True if the key is encrypted in the app.config
IsAltDefault
Type: Boolean
returns alt if key exists but is null or empty
pOwner
Type: Nullable<(Of <(<'Guid>)>)>
Owner Guid of the setting. gives access to a private setting

Return Value