C-DEngine 5.105

ICDESettings..::..GetAppSetting Method

Gets a setting and allows to specify if the setting was encryped in the app.config or private settings store

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

Syntax


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

Parameters

pSetting
Type: String
Name of the setting
alt
Type: String
Alternative return if Setting was not found
IsEncrypted
Type: Boolean
if true, the setting is encrypted in the settings store (i.e. app.config)
IsAltDefault
Type: Boolean
Returns the alt even if the setting is set but empty
pOwner
Type: Nullable<(Of <(<'Guid>)>)>
Owner Guid of the setting. gives access to a private setting

Return Value