| PrsReaderReadString Method |
Reads a string from the file.
Namespace:
QsInformatica.Utils
Assembly:
QsInformatica.Utils (in QsInformatica.Utils.dll) Version: 24.6.0.0 (24.6.0.0)
Syntax public bool ReadString(
string section,
string key,
out string value,
string defaultValue,
bool trim = true
)
Public Function ReadString (
section As String,
key As String,
<OutAttribute> ByRef value As String,
defaultValue As String,
Optional trim As Boolean = true
) As Boolean
public:
bool ReadString(
String^ section,
String^ key,
[OutAttribute] String^% value,
String^ defaultValue,
bool trim = true
)
member ReadString :
section : string *
key : string *
value : string byref *
defaultValue : string *
?trim : bool
(* Defaults:
let _trim = defaultArg trim true
*)
-> bool
Parameters
- section
- Type: SystemString
The section. - key
- Type: SystemString
The key. - value
- Type: SystemString
The value. - defaultValue
- Type: SystemString
The default value. - trim (Optional)
- Type: SystemBoolean
If true trims the string.
Return Value
Type:
BooleanTrue if successful,
false otherwise.
See Also