PowerTCP Mail for .NET
Criterion Property




Gets or sets the search criterion.
Syntax
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);
}

Property Value

An ImapCriterion value representing the search criterion.
Remarks

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.

See Also

Reference

ImapSearchParameter Class
ImapSearchParameter Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic