Export (0) Print
Expand All

IPropertyDescriptionList interface

Exposes methods that extract information from a collection of property descriptions presented as a list.

Members

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

Methods

The IPropertyDescriptionList interface has these methods.

MethodDescription
GetAt

Gets the property description at the specified index in a property description list.

GetCount

Gets the number of properties included in the property list.

 

Remarks

Ordered lists of properties are used to select which properties are shown in various UI locations such as the details pane or an infotip. The IPropertyDescriptionList interface provides access to the individual properties in such a list.

To get an instance of the subsystem object that implements IPropertyDescriptionList, obtain an IShellItem2 interface and call IShellItem2::GetPropertyDescriptionList, or obtain the list in string form and call PSGetPropertyDescriptionListFromString.

To obtain a property description list in string form, call IShellItem2::GetString with one of the PKEY_PropList keys. For example, PKEY_PropList_InfoTip (System.PropList.InfoTip) will return the string form of a list of properties suitable for showing in an infotip. If you are reading multiple values from an item, it is more efficient to call IPropertyStore::GetValue with a PKEY_PropList key so that the item is not reopened multiple times. See Property Lists for details on how to register a property list string for a file type.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

See also

PSGetPropertyDescriptionListFromString

 

 

Community Additions

ADD
Show:
© 2014 Microsoft