共用方式為


SPropTagArray

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Contains an array of property tags.

Header file:

Mapidefs.h

Related macros:

CbNewSPropTagArray, CbSPropTagArray, SizedSPropTagArray

typedef struct _SPropTagArray
{
  ULONG cValues;
  ULONG aulPropTag[MAPI_DIM];
} SPropTagArray, FAR *LPSPropTagArray;

Members

  • cValues
    Count of property tags in the array indicated by the aulPropTag member.

  • aulPropTag
    Array of property tags.

Remarks

A property tag is a 32-bit unsigned integer that consists of two parts:

  • An identifier in the high-order 16 bits.

  • A type in the low-order 16 bits.

The identifier is a numeric value in a particular range. MAPI defines ranges for identifiers to describe what the property is used for and who is responsible for maintaining it. MAPI defines constraints for each of the property tags that it supports in the Mapitags.h header file.

The type indicates the format for the property's value. MAPI defines constants for each of the property types that it supports in the Mapidefs.h header file.

For more information about property tags and their components, see one of the following topics:

MAPI Property Tags

MAPI Property Identifier Overview

MAPI Property Type Overview

For a complete list of the single-valued and multi-valued property types, see the appendix, Property Identifiers and Types.

See Also

Concepts

MAPI Structures