PROPDESC_AGGREGATION_TYPE enumeration

Describes how property values are displayed when multiple items are selected. For a particular property, PROPDESC_AGGREGATION_TYPE describes how the property should be displayed when multiple items that have a value for the property are selected, such as whether the values should be summed, or averaged, or just displayed with the default "Multiple Values" string.

Syntax


typedef enum  { 
  PDAT_DEFAULT    = 0,
  PDAT_FIRST      = 1,
  PDAT_SUM        = 2,
  PDAT_AVERAGE    = 3,
  PDAT_DATERANGE  = 4,
  PDAT_UNION      = 5,
  PDAT_MAX        = 6,
  PDAT_MIN        = 7
} PROPDESC_AGGREGATION_TYPE;

Constants

PDAT_DEFAULT

Display the string "Multiple Values".

PDAT_FIRST

Display the first value in the selection.

PDAT_SUM

Display the sum of the selected values. This flag is never returned for data types VT_LPWSTR, VT_BOOL, and VT_FILETIME.

PDAT_AVERAGE

Display the numerical average of the selected values. This flag is never returned for data types VT_LPWSTR, VT_BOOL, and VT_FILETIME.

PDAT_DATERANGE

Display the date range of the selected values. This flag is returned only for values of the VT_FILETIME data type.

PDAT_UNION

Display a concatenated string of all the values. The order of individual values in the string is undefined. The concatenated string omits duplicate values; if a value occurs more than once, it appears only once in the concatenated string.

PDAT_MAX

Display the highest of the selected values.

PDAT_MIN

Display the lowest of the selected values.

Remarks

These values are defined in propsys.h and propsys.idl.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft