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.
Members
The IShellItem2 interface inherits from IShellItem. IShellItem2 also has these types of members:
Methods
The IShellItem2 interface has these methods.
| Method | Description |
|---|---|
| GetBool |
Gets the boolean value of a specified property key. |
| GetCLSID |
Gets the CLSID value of specified property key. |
| GetFileTime |
Gets the date and time value of a specified property key. |
| GetInt32 |
Gets the Int32 value of specified property key. |
| GetProperty |
Gets a PROPVARIANT structure from a specified property key. |
| GetPropertyDescriptionList |
Gets a property description list object given a reference to a property key. |
| GetPropertyStore |
Gets a property store object for specified property store flags. |
| GetPropertyStoreForKeys |
Gets property store object for specified property keys. |
| 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. Most calling applications do not need to call this method, and can call IShellItem2::GetPropertyStore instead. |
| GetString |
Gets the string value of a specified property key. |
| GetUInt32 |
Gets the UInt32 value of a specified property key. |
| GetUInt64 |
Gets the UInt64 value of a specified property key. |
| 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] |
|
Header |
|
|
IDL |
|