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; endMembers
Methods
Public methods
| Returns | Name |
|---|---|
string | Read(string fileName, string sectionName, string settingName, string defaultValue)Read a value from an ini file |
void | Write(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
| Type | Name | Description |
|---|---|---|
string | fileName | The full path of the ini file |
string | sectionName | The section name |
string | settingName | The setting name |
string | defaultValue | The 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
| Type | Name | Description |
|---|---|---|
string | fileName | The full path of the ini file |
string | sectionName | The section name |
string | settingName | The setting name |
string | settingValue | The 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