public class AppSettingsReader
|
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. Initializes a new instance of the AppSettingsReader class. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
GetValue | Gets the value for a specified key from the ConfigurationSettings.AppSettings property and returns an object of the specified type containing the value from the .config file. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public AppSettingsReader(); |
~AppSettingsReader(); |
public virtual int GetHashCode(); |
public Type GetType(); |
key
type
Exception Type | Condition |
---|---|
ArgumentNullException | The key parameter is null. -or- The type parameter is null. |
InvalidOperationException | The value corresponding to the key could not be found in the configuration file. -or- The specified type does not have a parser. -or- The specified type cannot be parsed. |
protected object MemberwiseClone(); |
public virtual string ToString(); |