# OpcMemberSwitchOperator Enum

<span class="api-meta">since v2.8</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>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines the operator to define how the value of a switch member is to be compared to a switch value to control the existence of the member to that the switch member applies. For more details see [OpcMemberSwitch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmemberswitch/).

## Syntax

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

```csharp
public enum OpcMemberSwitchOperator
```

</div>

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

```vbnet
Public Enum OpcMemberSwitchOperator
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [ValueType](https://learn.microsoft.com/dotnet/api/system.valuetype) → [Enum](https://learn.microsoft.com/dotnet/api/system.enum) → **OpcMemberSwitchOperator**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="equals"></a>`Equals` | `0` | The value of the switch member have to be equals to the switch value. |
| <a id="greaterthan"></a>`GreaterThan` | `1` | The value of the switch member have to be greater than the switch value. |
| <a id="greaterthanorequal"></a>`GreaterThanOrEqual` | `3` | The value of the switch member have to be greater than or equals to the switch value. |
| <a id="lessthan"></a>`LessThan` | `2` | The value of the switch member have to be less than the switch value. |
| <a id="lessthanorequal"></a>`LessThanOrEqual` | `4` | The value of the switch member have to be less than or equals to the switch value. |
| <a id="notequal"></a>`NotEqual` | `5` | The value of the switch member have to be not equals to the switch value. |

## Applies to

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