IRelatedItem interface

Exposes methods that derive related items with specific relationships.

Members

The IRelatedItem interface inherits from the IUnknown interface. IRelatedItem also has these types of members:

Methods

The IRelatedItem interface has these methods.

MethodDescription
GetItem

Gets the IShellItem that is related to this item.

GetItemIDList

Gets the PIDL for the item that is related.

 

Remarks

Do not implement this interface directly. This is a base interface (other interfaces derive from it) for a set of interfaces that describes the relationship between two items, (For example IDisplayItem). Do not query for this interface directly, for example, using QueryInterface or IShellFolder::BindToObject. Instead, use the derived interfaces.

An example derivation is the creation of an identity name handler. For more information, see IIdentityName. Other interfaces that may derive from this interface include ICurrentItem, and ITransferMediumItem.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IShellItem::BindToHandler
IShellFolder::BindToObject

 

 

Show: