Retrieves an App Setting.

Namespace:  RedCritterV1
Assembly:  RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public string GetSetting(
	string name,
	string defaultValue
)
Public Function GetSetting ( _
	name As String, _
	defaultValue As String _
) As String

Parameters

name
String
The name of the setting to retrieve.
defaultValue
String
This is the value that will be returned if the setting was not found.

Return Value

The value of the request setting or the default value if the setting could not be found.

See Also