Saves a config setting without relying on WebCOnfigurationManager, so it can be used from medium trust.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool SaveConfigSetting(
string key,
string value,
XDocument xmlFile
) |
Visual Basic |
---|
Public Shared Function SaveConfigSetting (
key As String,
value As String,
xmlFile As XDocument
) As Boolean |
Visual C++ |
---|
public:
static bool SaveConfigSetting(
String^ key,
String^ value,
XDocument^ xmlFile
) |
F# |
---|
static member SaveConfigSetting :
key : string *
value : string *
xmlFile : XDocument -> bool
|
Return Value
Type:
BooleanTrue if save was successful, false otherwise.
See Also