Skip to content

MFGS Config.Ini

MFGSConfigIni Public interface

Description

Describes methods and properties available on the static instance object MFGS.Config.Ini

Diagram

flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph VGWWCoreIEx
VGWWCoreIEx.IExMFGSConfigIni[[IExMFGSConfigIni]]
class VGWWCoreIEx.IExMFGSConfigIni interfaceStyle;
end

Members

Methods

Public methods

ReturnsName
stringRead(string fileName, string sectionName, string settingName, string defaultValue)
Read a value from an ini file
voidWrite(string fileName, string sectionName, string settingName, string settingValue)
Write a value to an ini file

Details

Summary

Describes methods and properties available on the static instance object MFGS.Config.Ini

Methods

Read

public string Read(string fileName, string sectionName, string settingName, string defaultValue)
Arguments
TypeNameDescription
stringfileNameThe full path of the ini file
stringsectionNameThe section name
stringsettingNameThe setting name
stringdefaultValueThe value to be returned if the setting cannot be found
Summary

Read a value from an ini file

Returns

The value of the setting

Write

public void Write(string fileName, string sectionName, string settingName, string settingValue)
Arguments
TypeNameDescription
stringfileNameThe full path of the ini file
stringsectionNameThe section name
stringsettingNameThe setting name
stringsettingValueThe value to be written
Summary

Write a value to an ini file

Remarks

If the fileName specified does not exist, it will be created

Generated with ModularDoc