Documentation de Gambas - /comp/gb.desktop/desktop/getdirectory

/comp/gb.desktop/desktop/getdirectory

# Desktop.GetDirectory (gb.desktop)

Depuis 3.7

Static Function GetDirectory ( Type As String ) As String

Return the desktop directory specified in its Type argument.

Type can be one of the following value:

- `"DESKTOP"`

- `"DOCUMENTS"`

- `"DOWNLOAD"`

- `"MUSIC"`

- `"PICTURES"`

- `"TEMPLATES"`

- `"VIDEOS"`

Desktop.Path is an equivalent of `GetDirectory("DESKTOP")`.