# OpcContentFilterElement Class

> Reference: Represents an element of an OpcContentFilter, which applies an operator to its operands.

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcContentFilterElement Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents an element of an [OpcContentFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilter/), which applies an operator to its operands.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcContentFilterElement
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcContentFilterElement
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcContentFilterElement**

## Constructors

| Name | Description |
|---|---|
| [OpcContentFilterElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#opccontentfilterelement)<span class="api-meta">2 overloads</span> | Initializes a new instance of the OpcContentFilterElement class using the `elementOperator` and `elementOperands` specified. |

## Properties

| Name | Description |
|---|---|
| [Operands](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#operands) | Gets the operands of the element. |
| [Operator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#operator) | Gets the operator of the element. |

## Methods

| Name | Description |
|---|---|
| [ToString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#tostring)<span class="api-meta">override</span> | Returns a string that represents the element. |

## Operators

| Name | Description |
|---|---|
| [BitwiseAnd](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#op-bitwiseand)<span class="api-meta">static · 3 overloads</span> | Combines the filter `left` and the element `right` using a logical AND. |
| [BitwiseOr](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/members#op-bitwiseor)<span class="api-meta">static · 3 overloads</span> | Combines the filter `left` and the element `right` using a logical OR. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
