Class TMemIniFile

Hierarchy

  • TCustomIniFile
    • TMemIniFile

Constructors

Properties

data: Map<string, Map<string, string>> = ...
sectionOrder: string[] = []

Methods

  • Responds after the last constructor has executed.

    AfterConstruction is called automatically after the object's last constructor has executed. Do not call it explicitly in your applications.

    The AfterConstruction method implemented in TObject does nothing. Override this method when creating a class that performs an action after the object is created.

    Returns void

  • Responds before the first destructor executes.

    BeforeDestruction is called automatically before the object's first destructor executes. Do not call it explicitly in your applications.

    The BeforeDestruction method implemented in TObject does nothing. Override this method when creating a class that performs an action before the object is destroyed.

    Returns void

  • Parameters

    • Section: string
    • Key: string

    Returns void

  • performs cleanup tasks and destroys the object

    Returns void

  • Returns void

  • Parameters

    • name: string

    Returns Map<string, string>

  • Parameters

    • Section: string

    Returns void

  • Calls destroy to perform any cleanup tasks. Call Free() to destroy the object, so as to retain Delphi-style AfterConstruction and BeforeDestruction semantics.

    Returns void

  • Destroys the object, maintaining Delphi-style AfterConstruction and BeforeDestruction semantics.

    Returns void

  • Parameters

    • text: string

    Returns EnvNode[]

  • Parameters

    • Section: string
    • Key: string
    • stream: any

    Returns number

  • Parameters

    • Section: string
    • Key: string
    • Default: boolean

    Returns boolean

  • Parameters

    • Section: string
    • Key: string
    • Default: Date

    Returns Date

  • Parameters

    • Section: string
    • Key: string
    • Default: Date

    Returns Date

  • Parameters

    • Section: string
    • Key: string
    • Default: number

    Returns number

  • Parameters

    • Section: string
    • Key: string
    • Default: number

    Returns number

  • Parameters

    • Section: string
    • Key: string
    • Default: number

    Returns number

  • Parameters

    • Section: string
    • Strings: string[]

    Returns void

  • Parameters

    • Section: string
    • Strings: string[]

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Default: string

    Returns string

  • Parameters

    • Section: string
    • Strings: string[]
    • Recurse: boolean = false

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Default: Date

    Returns Date

  • Parameters

    • Section: string

    Returns boolean

  • Returns void

  • Parameters

    • Section: string
    • Key: string

    Returns boolean

  • Parameters

    • Section: string
    • Key: string
    • stream: any

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: boolean

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: Date

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: Date

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: number

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: number

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: number

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: string

    Returns void

  • Parameters

    • Section: string
    • Key: string
    • Value: Date

    Returns void

  • Creates a new instance of the class. To create a new constructor, declare the constructor(args) method and call the super constructor. Then, to instantiate the class, call YourClass.Create(args) instead of new YourClass(args), so as to retain Delphi-style AfterConstruction and BeforeDestruction semantics.

    Type Parameters

    Parameters

    • this: (new (...args: any[]) => T)
        • new (...args): T
        • Parameters

          • Rest...args: any[]

          Returns T

    • Rest...args: any[]

    Returns T