C-DEngine 5.105

TheCDESettings..::..GetSetting Method

Returns a setting either known in the current Settings array or set as an environment variable or in App.Config First it looks into App.config and if this does not contain the setting it falls back to the existing TheBaseAssets.MyCmdArgs and if that does not have the entry it looks in the environment variables.

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

Syntax


public virtual string GetSetting(
	string pSetting,
	Nullable<Guid> pOwner
)
Public Overridable Function GetSetting ( _
	pSetting As String, _
	pOwner As Nullable(Of Guid) _
) As String
public:
virtual String^ GetSetting(
	String^ pSetting, 
	Nullable<Guid^> pOwner
)

Parameters

pSetting
Type: String
Key of the setting
pOwner
Type: Nullable<(Of <(<'Guid>)>)>
Owner Guid of the setting. gives access to a private setting

Return Value