次の方法で共有


SSizeRestriction

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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