Dart.Mail Namespace > ImapSearchParameter Class : Criterion Property |
Public Property Criterion As ImapCriterion
Dim instance As ImapSearchParameter Dim value As ImapCriterion instance.Criterion = value value = instance.Criterion
public ImapCriterion Criterion {get; set;}
public: __property ImapCriterion get_Criterion(); public: __property void set_Criterion( ImapCriterion value );
public: property ImapCriterion Criterion { ImapCriterion get(); void set ( ImapCriterion value); }
Use this property to restrict searches. For example, set this property to ImapCriterion.Flagged, add the ImapSearchParameter to an array and pass it to the Mailbox.Search method to get all messages with the Flagged flag set.