IniSection.read

Reads a value from the section.

  1. auto read(string key, string defaultValue)
  2. auto read(string key, string defaultValue, T value)
    class IniSection(bool sync)
    read
    (
    T
    )
    (
    string key
    ,
    lazy string defaultValue
    ,
    out T value
    )
  3. auto read(string key)
  4. auto read(string key, T value)

Parameters

key string

The key to read.

defaultValue string

(lazy) The default value.

value T

(out) The value if found, defaultValue otherwise.

Return Value

Type: auto

The section.

Meta