GetProfileSectionNames¶
GetProfileSectionNames returns a string vector with the section names.
-
svSectionNames = GetProfileSectionNames(ssIniFile)
Return Value
svSectionNames is a string vector with section names. In case of an error svSectionNames is an empty string (“”).
Parameters
-
ssIniFile
ssFileName is a string naming the initialization file.
Example
If the file d:/test.ini
contains the following text
[Section]
Key=123
the call to GetProfileSectionNames returns the string “Section”.
ssString = GetProfileSectionNames("d:/test.ini");
id-515342