BoolComparisonField

Inheritance: java.lang.Object, com.aspose.email.QueryField, com.aspose.email.ComparisonField

public final class BoolComparisonField extends ComparisonField

Represents the boolean search field.

Methods

Method Description
equals(boolean value) Indicates that field must be equal to the specified value.
notEquals(boolean value) Indicates that field must not be equal to the specified value.

equals(boolean value)

public final MailQuery equals(boolean value)

Indicates that field must be equal to the specified value.

Parameters:

Parameter Type Description
value boolean The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

notEquals(boolean value)

public final MailQuery notEquals(boolean value)

Indicates that field must not be equal to the specified value.

Parameters:

Parameter Type Description
value boolean The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).