Returns the icon index of the passed special folder.
| C# | Visual Basic | Visual C++ |
public int GetSpecialFolderIcon( Environment..::.SpecialFolder SpecialFolder, bool Opened )
Public Function GetSpecialFolderIcon ( _ SpecialFolder As Environment..::.SpecialFolder, _ Opened As Boolean _ ) As Integer
public: int GetSpecialFolderIcon( Environment..::.SpecialFolder SpecialFolder, bool Opened )
- SpecialFolder (Environment..::.SpecialFolder)
- A constant from Environment..::.SpecialFolder
- Opened (Boolean)
- true, if the icon should be returned open, like it is often used for the selected item in a treeview.
The index of the corresponding icon in the system image list.