IShellFolder2 interface
Extends the capabilities of IShellFolder. Its methods provide a variety of information about the contents of a Shell folder.
Members
The IShellFolder2 interface inherits from IShellFolder. IShellFolder2 also has these types of members:
Methods
The IShellFolder2 interface has these methods.
| Method | Description |
|---|---|
| EnumSearches |
Requests a pointer to an interface that allows a client to enumerate the available search objects. |
| GetDefaultColumn |
Gets the default sorting and display columns. |
| GetDefaultColumnState |
Gets the default state for a specified column. |
| GetDefaultSearchGUID |
Returns the globally unique identifier (GUID) of the default search object for the folder. |
| GetDetailsEx |
Gets detailed information, identified by a property set identifier (FMTID) and a PID, on an item in a Shell folder. |
| GetDetailsOf |
Gets detailed information, identified by a column index, on an item in a Shell folder. |
| MapColumnToSCID |
Converts a column to the appropriate property set ID (FMTID) and property ID (PID). |
Remarks
This interface also provides the methods of the IShellFolder interface, from which it inherits.
When to Implement
Implement IShellFolder2 if your namespace extension provides services to clients beyond those in IShellFolder.
When to Use
Call IShellFolder2 when you need detailed information on items contained by a Shell folder. This interface supersedes IShellDetails.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|