Click or drag to resize

IniAccess class

Reads values from an ini file.
Inheritance hierarchy
SystemObject
  NetEti.FileToolsIniAccess

Namespace: NetEti.FileTools
Assembly: NetEti.IniAccess (in NetEti.IniAccess.dll) Version: 1.0.0+1c058e2e1662afc6d0759c99cc29dbbe512579b9
Syntax
public class IniAccess : IGetStringValue

The IniAccess Type exposes the following members.

Constructors
 NameDescription of the
Public MethodIniAccess Constructor: loads the ini file into a dictionary for later queries.
Back to the top
Properties
 NameDescription of the
Public PropertyDescription Returns a descriptive name of this StringValueGetter, e.g. name plus source path if applicable.
Back to the top
Methods
 NameDescription of the
Public MethodGetStringValue Returns exactly one value for a key. If there is no value for the key, defaultValue is returned.
Public MethodGetStringValues Returns a string array for a key. If there is no value for the key, defaultValue is returned.
Public MethodReadSetting Reads the value of an entry from a section of the ini file. If the desired entry is not found, the default is used.
Back to the top
Remarks
File: IniAccess.cs
Implements IGetStringValue
Author: Erik Nagel, NetEti

08.03.2012 Erik Nagel: created
See also