| PrsReaderReadString Method |
Reads a string from the file.
Namespace: QsInformatica.UtilsAssembly: QsInformatica.Utils (in QsInformatica.Utils.dll) Version: 26.4.0.0 (26.4.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 String
- The section.
- key String
- The key.
- value String
- The value.
- defaultValue String
- The default value.
- trim Boolean (Optional)
- If true trims the string.
Return Value
BooleanTrue if successful,
false otherwise.
See Also