SystemInfo GetAppSetting Method | Apache log4net™ SDK Documentation

Lookup an application setting

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static string GetAppSetting(
    	string key
    )

    Public Shared Function GetAppSetting (
    	key As String
    ) As String

    public:
    static String^ GetAppSetting(
    	String^ key
    )

    static member GetAppSetting :
            key : string -> string

#### Parameters

key
  Type: System
  String
  the application settings key to lookup

#### Return Value

Type: String
the value for the key, or null
Remarks

Configuration APIs are not supported under the Compact Framework

See Also

#### Reference

SystemInfo Class
log4net.Util Namespace