| ExpressionHeader Method |
Creates a criterion to find messages that have a header with the specified field-name (as defined in [RFC-2822]) and that contains the specified string
in the text of the header (what comes after the colon). If the string to search is zero-length,
this matches all messages that have a header line with the specified field-name regardless of the contents.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public static ICriterion Header(
string header,
string value
)
Public Shared Function Header (
header As String,
value As String
) As ICriterion
public:
static ICriterion^ Header(
String^ header,
String^ value
)
static member Header :
header : string *
value : string -> ICriterion
Parameters
- header
- Type: SystemString
Header name. - value
- Type: SystemString
Header value.
Return Value
Type:
ICriterionNew expression.
See Also