IPersistFolder2 interface (shobjidl_core.h)

Exposes methods that obtain information from Shell folder objects.


The IPersistFolder2 interface inherits from IPersistFolder. IPersistFolder2 also has these types of members:


The IPersistFolder2 interface has these methods.


Gets the ITEMIDLIST for the folder object.


This interface also provides the methods of the IPersist, IPersistFolder interfaces, from which it inherits.

When to Implement

When implementing a Shell namespace extension, specifically the IShellFolder interface, you need to implement this interface so that the Shell folder object's ITEMIDLIST can be retrieved.


Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)