SettingsLoader.LoadFromConfig Method
Loads a specified file from config.
Namespace: Microsoft.Owin.Hosting.Utilities
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Overload List
Name | Description | |
---|---|---|
![]() ![]() |
LoadFromConfig() | Load settings from the AppSettings section of the config file. |
![]() ![]() |
LoadFromConfig(IDictionary<String, String>) | Load settings from the AppSettings section of the config file. |
See Also
SettingsLoader Class
Microsoft.Owin.Hosting.Utilities Namespace
Return to top
SettingsLoader.LoadFromConfig Method ()
Load settings from the AppSettings section of the config file.
Syntax
public static IDictionary<string, string> LoadFromConfig()
public:
static IDictionary<String^, String^>^ LoadFromConfig()
static member LoadFromConfig : unit -> IDictionary<string, string>
Public Shared Function LoadFromConfig As IDictionary(Of String, String)
Return Value
Type: System.Collections.Generic.IDictionary<String, String>
A specified file from config.
Return to top
SettingsLoader.LoadFromConfig Method (IDictionary<String, String>)
Load settings from the AppSettings section of the config file.
Syntax
public static void LoadFromConfig(
IDictionary<string, string> settings
)
public:
static void LoadFromConfig(
IDictionary<String^, String^>^ settings
)
static member LoadFromConfig :
settings:IDictionary<string, string> -> unit
Public Shared Sub LoadFromConfig (
settings As IDictionary(Of String, String)
)
Parameters
settings
Type: System.Collections.Generic.IDictionary<String, String>The config settings.
Return to top