Compartir a través de


SSizeRestriction

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Describes a size restriction which is used to test the size of a property value.

Header file:

Mapidefs.h

typedef struct _SSizeRestriction
{
  ULONG relop;
  ULONG ulPropTag;
  ULONG cb;
} SSizeRestriction;

Members

  • relop
    Relational operator that is used in the size comparison. Possible values are as follows:

    • RELOP_GE
      The comparison is made based on a greater or equal first value.

    • RELOP_GT
      The comparison is made based on a greater first value.

    • RELOP_LE
      The comparison is made based on a lesser or equal first value.

    • RELOP_LT
      The comparison is made based on a lesser first value.

    • RELOP_NE
      The comparison is made based on unequal values.

    • RELOP_RE
      The comparison is made based on LIKE (regular expression) values.

    • RELOP_EQ
      The comparison is made based on equal values.

  • ulPropTag
    Property tag identifying the property to test.

  • cb
    Count of bytes in the property value.

Remarks

For a general discussion of how restrictions work, see About Restrictions.

See Also

Reference

SRestriction

Concepts

MAPI Structures