IShellItem interface (shobjidl_core.h)

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

Inheritance

The IShellItem interface inherits from the IUnknown interface. IShellItem also has these types of members:

Methods

The IShellItem interface has these methods.

 
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

Requirement Value
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