B. Dedicated User Classes for .INI File Support : SectionObject User Class : SetString Method
 
Share this page                  
SetString Method
The SetString method adds or changes a single section entry, applying the specified StringObject.
This method has the following syntax:
integer = SectionObject.SetString(LineIn = StringObject)
The method returns ER_OK if the addition or change is successfully applied, ER_FAIL otherwise. Descriptions of system constant values and their numeric equivalents are listed in Error Codes (see Error Codes).