wwConfig::cMode

This property allows specifying the operational mode of the Config object.

Supported modes are:

  • INI (default)
  • XML
  • REGISTRY

If you set the mode you can always call Load() or Save() methods instead of having to call the individual methods (LoadIni, LoadRegistry etc.).

cFileName and/or cRegNode/cRegPath must still be set prior to making the calls to Load/Save.

o.cMode

Default Value

XML
INI
REGISTRY

See also:

Class wwConfig

© West Wind Technologies, 2023 • Updated: 08/20/01
Comment or report problem with topic