---
title: "BinaryComparisonField.NotEquals"
url: "https://reference.aspose.com/email/net/aspose.email.tools.search/binarycomparisonfield/notequals/"
product: "Aspose.Email for .NET API Reference"
description: "BinaryComparisonField method. Indicates that field must not be equal to the specified value"
---

## NotEquals(byte[]) {#notequals}

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

```csharp
public MailQuery NotEquals(byte[] value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| value | Byte[] | The value. |

### Return Value

[`MailQuery`](../../mailquery/) that represents search query (one searching criterion).

### See Also

* class [MailQuery](../../mailquery/)
* class [BinaryComparisonField](../)
* namespace [Aspose.Email.Tools.Search](../../binarycomparisonfield/)
* assembly [Aspose.Email](../../../)

---

## NotEquals(string) {#notequals_1}

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

```csharp
public MailQuery NotEquals(string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| value | String | The base 64 string value. |

### Return Value

[`MailQuery`](../../mailquery/) that represents search query (one searching criterion).

### See Also

* class [MailQuery](../../mailquery/)
* class [BinaryComparisonField](../)
* namespace [Aspose.Email.Tools.Search](../../binarycomparisonfield/)
* assembly [Aspose.Email](../../../)


