Extends the IShellItem interface, giving access to an item's properties
-
Returns a collection of the item's properties
-
Creates a property store containing just the specified properties of the item
-
GetPropertyStoreWithCreateObject
Returns the property store for the item, with alternate handler instantiation
-
Retrieves descriptions of properties in a particular group
-
Refreshes properties that have been modified since interface was created
-
DRetrieves the value of a property, converted to an appropriate python type
-
Retrieves the value of a property as a GUID
-
Retrieves the value of a property as a file time.
-
Retrieves the value of a property as a 32 bit int.
-
Retrieves the value of a property as a string
-
Returns the value of a property as a 32 bit unsigned int
-
Returns the value of a property as an unsigned 64-bit int
-
Returns the value of a property as a boolean
PyIShellItem2.GetBool
boolean = GetBool(key) Returns the value of a property as a boolean
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetCLSID
PyIID = GetCLSID(key) Retrieves the value of a property as a CLSID (VT_CLSID)
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetFileTime
PyTime = GetFileTime(key) Retrieves the value of a property as a FILETIME
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetInt32
int = GetInt32(key) Retrieves the value of a property as a 32 bit int.
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetProperty
object = GetProperty(key) Retrieves the value of a property, converted to an appropriate python type
-
key : PyPROPERTYKEY
The id of the property to retrieve
Type of returned object is determined by the variant type of the property
PyIShellItem2.GetPropertyDescriptionList
PyIPropertyDescriptionList = GetPropertyDescriptionList(Type, riid
) Retrieves descriptions of properties in a particular group
-
Type : PyPROPERTYKEY
Property list identifier (pscon.PKEY_PropList_*)
-
riid=IID_IPropertyDescriptionList : PyIID
The interface to return
PyIShellItem2.GetPropertyStore
PyIPropertyStore = GetPropertyStore(Flags, riid
) Returns a collection of the item's properties
-
Flags=GPS_DEFAULT : int
Combination of GETPROPERTYSTOREFLAGS values (shellcon.GPS_*)
-
riid=IID_IPropertyStore : PyIID
The interface to return
PyIShellItem2.GetPropertyStoreForKeys
PyIPropertyStore = GetPropertyStoreForKeys(Keys, Flags
, riid
) Creates a property store containing just the specified properties of the item
- Keys : (SHCOLUMNID
,...))
A sequence of property identifiers
-
Flags=GPS_DEFAULT : int
Combination of GETPROPERTYSTOREFLAGS values (shellcon.GPS_*)
-
riid=IID_IPropertyStore : PyIID
The interface to return
PyIShellItem2.GetPropertyStoreWithCreateObject
PyIPropertyStore = GetPropertyStoreWithCreateObject(Flags, CreateObject
, riid
) Returns the property store for the item, with alternate handler instantiation
-
Flags : int
Combination of GETPROPERTYSTOREFLAGS values (shellcon.GPS_*)
-
CreateObject : PyIUnknown
An interface that implements ICreateObject, used to create the property handler
-
riid=IID_IPropertyStore : PyIID
The interface to be created
Primarily used to create a handler in a separate process with reduced privileges
PyIShellItem2.GetString
str = GetString(key) Retrieves the value of a property as a string
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetUInt32
int = GetUInt32(key) Returns the value of a property as a 32 bit unsigned int
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.GetUInt64
int = GetUInt64(key) Returns the value of a property as an unsigned 64-bit int
-
key : PyPROPERTYKEY
The id of the property to retrieve
PyIShellItem2.Update
Update(BindCtx) Refreshes properties that have been modified since interface was created
-
BindCtx=None : PyIBindCxt
Bind context used when requesting the interface, or None