Share via


MessageCondition Constructor (MessageProperty, MessagePropertyComparisonType, String, Boolean)

3/29/2010

Initializes a new instance of the MessageCondition class; using the specified message property, comparison value, comparison type, and CaseSensitive value.

Namespace: Microsoft.WindowsMobile.PocketOutlook.MessageInterception
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public MessageCondition (
    MessageProperty property,
    MessagePropertyComparisonType comparisonType,
    string comparisonValue,
    bool caseSensitive
)
'Declaration
Public Sub New ( _
    property As MessageProperty, _
    comparisonType As MessagePropertyComparisonType, _
    comparisonValue As String, _
    caseSensitive As Boolean _
)

Parameters

  • property
    The message property to match.
  • comparisonType
    The kind of comparison (e.g., equals, contains, etc.).
  • comparisonValue
    The search string containing the match criteria.
  • caseSensitive
    Whether the comparison uses a case sensitive match.

See Also

Reference

MessageCondition Class
MessageCondition Members
Microsoft.WindowsMobile.PocketOutlook.MessageInterception Namespace