IShellItem2 interface (shobjidl_core.h)
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.
Inheritance
The IShellItem2 interface inherits from IShellItem. IShellItem2 also has these types of members:
Methods
The IShellItem2 interface has these methods.
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
Requirement | Value |
---|---|
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) |