# GetProfileSections()

Gets all the sections of an initialization file.
An initialization file, as a struct whose format is as follows:

- Each initialization file section name is a key in the
  struct
- Each list of entries in a section of an initialization
  file is a value in the struct

```
GetProfileSections( iniFile=string );
```

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| iniFile | string | Yes | path to an ini file. |  |

# Examples

*There are currently no examples for this function.*







# Categories

[File handling](../../categories/files.md)

# See Also

[GetProfileString()](getprofilestring.md), [SetProfileString()](setprofilestring.md)