IShellItem2 class com 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.

Inheritance

Constructors

IShellItem2(Pointer<COMObject> ptr)
IShellItem2.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
inherited
bindToHandler(Pointer<COMObject> pbc, Pointer<GUID> bhid, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
inherited
compare(Pointer<COMObject> psi, int hint, Pointer<Int32> piOrder) int
inherited
getAttributes(int sfgaoMask, Pointer<Uint32> psfgaoAttribs) int
inherited
getBool(Pointer<PROPERTYKEY> key, Pointer<Int32> pf) int
getCLSID(Pointer<PROPERTYKEY> key, Pointer<GUID> pclsid) int
getDisplayName(int sigdnName, Pointer<Pointer<Utf16>> ppszName) int
inherited
getFileTime(Pointer<PROPERTYKEY> key, Pointer<FILETIME> pft) int
getInt32(Pointer<PROPERTYKEY> key, Pointer<Int32> pi) int
getParent(Pointer<Pointer<COMObject>> ppsi) int
inherited
getProperty(Pointer<PROPERTYKEY> key, Pointer<PROPVARIANT> ppropvar) int
getPropertyDescriptionList(Pointer<PROPERTYKEY> keyType, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
getPropertyStore(int flags, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
getPropertyStoreForKeys(Pointer<PROPERTYKEY> rgKeys, int cKeys, int flags, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
getPropertyStoreWithCreateObject(int flags, Pointer<COMObject> punkCreateObject, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
getString(Pointer<PROPERTYKEY> key, Pointer<Pointer<Utf16>> ppsz) int
getUInt32(Pointer<PROPERTYKEY> key, Pointer<Uint32> pui) int
getUInt64(Pointer<PROPERTYKEY> key, Pointer<Uint64> pull) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
release() int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited
update(Pointer<COMObject> pbc) int

Operators

operator ==(Object other) bool
The equality operator.
inherited