Was this helpful?
SetString Method
The SetString method parses an initialization profile into sections and entries.
This method has the following syntax:
integer = ProfileObject.SetString(LineIn = StringObject)
If the method succeeds, it returns ER_OK; if not, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
If you are reading an initialization profile from a file, use the ReadProfile Method instead; this calls SetString once it has read in the file.
Last modified date: 06/25/2024