nsMsgSearchValue

Defined in comm-central/ mailnews/ base/ search/ public/ nsMsgSearchCore.idl

Use this to specify the value of a search term

[ptr] native nsMsgSearchValue(nsMsgSearchValue);

%{C++
typedef struct nsMsgSearchValue
{
    nsMsgSearchAttribValue attribute;
    union
    {
      nsMsgPriorityValue priority;
      PRTime date;
      PRUint32 msgStatus; /* see MSG_FLAG in msgcom.h */
      PRUint32 size;
      nsMsgKey key;
      PRInt32 age; /* in days */
      nsIMsgFolder *folder;
      nsMsgLabelValue label;
      PRUint32 junkStatus;
      PRUint32 junkPercent;
    } u;
    char *string;
} nsMsgSearchValue;