SpecialFolder allows you to set or get the type of the currently listed folder.
You can use the ShellFolder constants here.
| C# | Visual Basic | Visual C++ |
public ShellFolder SpecialFolder { get; set; }
Public Property SpecialFolder As ShellFolder
public: property ShellFolder SpecialFolder { ShellFolder get (); void set (ShellFolder value); }
| Exception | Condition |
|---|---|
| COMException | A COM-Exception is thrown if the special folder selected
is not supported by the system the application is running on. |