# OpcFilterOperand Class

> Reference: Provides an abstract base class for the operands of an OpcContentFilterElement, which creates the elements applying an operator to the operand.

<span class="api-meta">abstract</span>

<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">OpcFilterOperand Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides an abstract base class for the operands of an [OpcContentFilterElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontentfilterelement/), which creates the elements applying an operator to the operand.

## Syntax

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

```csharp
public abstract class OpcFilterOperand
```

</div>

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

```vbnet
Public MustInherit Class OpcFilterOperand
```

</div>

## Inheritance

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

## Derived types

- [OpcAttributeOperand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattributeoperand/)
- [OpcElementOperand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcelementoperand/)
- [OpcLiteralOperand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcliteraloperand/)
- [OpcSimpleAttributeOperand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcsimpleattributeoperand/)

## Constructors

| Name | Description |
|---|---|
| [OpcFilterOperand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#opcfilteroperand)<span class="api-meta">protected</span> | Initializes a new instance of the OpcFilterOperand class using the `content` specified. |

## Methods

| Name | Description |
|---|---|
| [Between](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#between)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is greater than or equal to the `lower` value and less than or equal to the `upper` value. |
| [Cast](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#cast)<span class="api-meta">2 overloads</span> | Creates an element which converts this operand to the data type identified by the `right` value. |
| [Equals](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#equals)<span class="api-meta">2 overloads</span> | Determines whether the specified `other` is equal to this OpcFilterOperand. |
| [EqualsTo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#equalsto)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is equal to the `right` value. |
| [GetHashCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#gethashcode)<span class="api-meta">override</span> | Retrieves a hash code for this OpcFilterOperand. |
| [GreaterThan](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#greaterthan)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is greater than the `right` value. |
| [GreaterThanOrEqualsTo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#greaterthanorequalsto)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is greater than or equal to the `right` value. |
| [InList](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#inlist) | Creates an element which determines whether this operand is equal to the `item` or one of the `items` specified. |
| [InView](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#inview) | Creates an element which determines whether the node the filter is applied to is contained in the view identified by this operand. |
| [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#isnull) | Creates an element which determines whether this operand is a null value. |
| [LessThan](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#lessthan)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is less than the `right` value. |
| [LessThanOrEqualsTo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#lessthanorequalsto)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand is less than or equal to the `right` value. |
| [Like](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#like)<span class="api-meta">2 overloads</span> | Creates an element which determines whether this operand matches the pattern of the `right` value. |
| [Not](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#not) | Creates an element which determines whether this operand, a Boolean value, is false. |
| [OfType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#oftype)<span class="api-meta">2 overloads</span> | Creates an element which determines whether the node the filter is applied to is of the type identified by this operand. |
| [ToString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#tostring)<span class="api-meta">override</span> | Returns a string that represents the operand. |

## Operators

| Name | Description |
|---|---|
| [Equality](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-equality)<span class="api-meta">static · 2 overloads</span> | Creates an element which determines whether the `left` operand is equal to the `right` value. |
| [GreaterThan](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-greaterthan)<span class="api-meta">static · 2 overloads</span> | Creates an element which determines whether the `left` operand is greater than the `right` value. |
| [GreaterThanOrEqual](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-greaterthanorequal)<span class="api-meta">static · 2 overloads</span> | Creates an element which determines whether the `left` operand is greater than or equal to the `right` value. |
| [Inequality](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-inequality)<span class="api-meta">static · 2 overloads</span> | Not supported. |
| [LessThan](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-lessthan)<span class="api-meta">static · 2 overloads</span> | Creates an element which determines whether the `left` operand is less than the `right` value. |
| [LessThanOrEqual](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilteroperand/members#op-lessthanorequal)<span class="api-meta">static · 2 overloads</span> | Creates an element which determines whether the `left` operand is less than or equal to the `right` value. |

## Applies to

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