IShellItem interface

Exposes methods that retrieve information about a Shell item. IShellItem and IShellItem2 are the preferred representations of items in any new code.

Methods

The IShellItem interface has these methods.

Method Description
IShellItem::BindToHandler Binds to a handler for an item as specified by the handler ID value (BHID).
IShellItem::Compare Compares two IShellItem objects.
IShellItem::GetAttributes Gets a requested set of attributes of the IShellItem object.
IShellItem::GetDisplayName Gets the display name of the IShellItem object.
IShellItem::GetParent Gets the parent of an IShellItem object.

Remarks

When to Implement

Third parties do not implement this interface; only use the implementation provided with the system.

Requirements

   
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See Also

IShellItem2