IShellItem2 interface

Extends IShellItem with methods that retrieve various property values of the item. IShellItem and IShellItem2 are the preferred representations of items in any new code.

Methods

The IShellItem2 interface has these methods.

Method Description
IShellItem2::GetBool Gets the boolean value of a specified property key.
IShellItem2::GetCLSID Gets the class identifier (CLSID) value of specified property key.
IShellItem2::GetFileTime Gets the date and time value of a specified property key.
IShellItem2::GetInt32 Gets the Int32 value of specified property key.
IShellItem2::GetProperty Gets a PROPVARIANT structure from a specified property key.
IShellItem2::GetPropertyDescriptionList Gets a property description list object given a reference to a property key.
IShellItem2::GetPropertyStore Gets a property store object for specified property store flags.
IShellItem2::GetPropertyStoreForKeys Gets property store object for specified property keys.
IShellItem2::GetPropertyStoreWithCreateObject Uses the specified ICreateObject instead of CoCreateInstance to create an instance of the property handler associated with the Shell item on which this method is called.
IShellItem2::GetString Gets the string value of a specified property key.
IShellItem2::GetUInt32 Gets the UInt32 value of a specified property key.
IShellItem2::GetUInt64 Gets the UInt64 value of a specified property key.
IShellItem2::Update Ensures that any cached information in this item is updated.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)