 | IniReadSetting method |
Reads the value of an entry from a section of the ini file.
If the desired entry is not found, the default is used.
Namespace: NetEti.FileToolsAssembly: NetEti.IniAccess (in NetEti.IniAccess.dll) Version: 1.0.0+1c058e2e1662afc6d0759c99cc29dbbe512579b9
Syntaxpublic string? ReadSetting(
string section,
string entry,
string? defaultValue
)
Public Function ReadSetting (
section As String,
entry As String,
defaultValue As String
) As String
public:
String^ ReadSetting(
String^ section,
String^ entry,
String^ defaultValue
)
member ReadSetting :
section : string *
entry : string *
defaultValue : string -> string
Parameters
- section String
- The section [...] in the file
- entry String
- The specific parameter
- defaultValue String
- The default to be returned in the event of failure
Return value
StringValue of the searched entry or default
See also