# OpcVariableType Enum

> Reference: Specifies a variable type of the OPC UA namespace, whose identifier GetNodeId provides.

<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>

Specifies a variable type of the OPC UA namespace, whose identifier [GetNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariabletypes/members#getnodeid) provides.

## Syntax

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

```csharp
public enum OpcVariableType
```

</div>

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

```vbnet
Public Enum OpcVariableType
```

</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) → **OpcVariableType**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="analogitem"></a>`AnalogItem` | `0` | The AnalogItemType variable type. |
| <a id="analogunit"></a>`AnalogUnit`<span class="api-meta">since v2.50</span> | `37` | The AnalogUnitType variable type. |
| <a id="analogunitrange"></a>`AnalogUnitRange`<span class="api-meta">since v2.50</span> | `38` | The AnalogUnitRangeType variable type. |
| <a id="arrayitem"></a>`ArrayItem` | `1` | The ArrayItemType variable type. |
| <a id="basedatavariable"></a>`BaseDataVariable` | `2` | The BaseDataVariableType variable type. |
| <a id="basevariable"></a>`BaseVariable` | `3` | The BaseVariableType variable type. |
| <a id="buildinfo"></a>`BuildInfo` | `4` | The BuildInfoType variable type. |
| <a id="conditionvariable"></a>`ConditionVariable` | `5` | The ConditionVariableType variable type. |
| <a id="cubeitem"></a>`CubeItem` | `6` | The CubeItemType variable type. |
| <a id="dataitem"></a>`DataItem` | `7` | The DataItemType variable type. |
| <a id="datatypedescription"></a>`DataTypeDescription` | `8` | The DataTypeDescriptionType variable type. |
| <a id="datatypedictionary"></a>`DataTypeDictionary` | `9` | The DataTypeDictionaryType variable type. |
| <a id="discreteitem"></a>`DiscreteItem` | `10` | The DiscreteItemType variable type. |
| <a id="finitestatevariable"></a>`FiniteStateVariable` | `11` | The FiniteStateVariableType variable type. |
| <a id="finitetransitionvariable"></a>`FiniteTransitionVariable` | `12` | The FiniteTransitionVariableType variable type. |
| <a id="imageitem"></a>`ImageItem` | `13` | The ImageItemType variable type. |
| <a id="multistatediscrete"></a>`MultiStateDiscrete` | `14` | The MultiStateDiscreteType variable type. |
| <a id="multistatevaluediscrete"></a>`MultiStateValueDiscrete` | `15` | The MultiStateValueDiscreteType variable type. |
| <a id="ndimensionarrayitem"></a>`NDimensionArrayItem` | `16` | The NDimensionArrayItemType variable type. |
| <a id="optionset"></a>`OptionSet` | `17` | The OptionSetType variable type. |
| <a id="programdiagnostic"></a>`ProgramDiagnostic` | `18` | The ProgramDiagnosticType variable type. |
| <a id="property"></a>`Property` | `19` | The PropertyType variable type. |
| <a id="samplingintervaldiagnostics"></a>`SamplingIntervalDiagnostics` | `21` | The SamplingIntervalDiagnosticsType variable type. |
| <a id="samplingintervaldiagnosticsarray"></a>`SamplingIntervalDiagnosticsArray` | `20` | The SamplingIntervalDiagnosticsArrayType variable type. |
| <a id="serverdiagnosticssummary"></a>`ServerDiagnosticsSummary` | `22` | The ServerDiagnosticsSummaryType variable type. |
| <a id="serverstatus"></a>`ServerStatus` | `23` | The ServerStatusType variable type. |
| <a id="servervendorcapability"></a>`ServerVendorCapability` | `24` | The ServerVendorCapabilityType variable type. |
| <a id="sessiondiagnosticsarray"></a>`SessionDiagnosticsArray` | `25` | The ServerVendorCapabilityType variable type. |
| <a id="sessiondiagnosticsvariable"></a>`SessionDiagnosticsVariable` | `26` | The SessionDiagnosticsVariableType variable type. |
| <a id="sessionsecuritydiagnostics"></a>`SessionSecurityDiagnostics` | `28` | The SessionSecurityDiagnosticsType variable type. |
| <a id="sessionsecuritydiagnosticsarray"></a>`SessionSecurityDiagnosticsArray` | `27` | The SessionSecurityDiagnosticsArrayType variable type. |
| <a id="statevariable"></a>`StateVariable` | `29` | The StateVariableType variable type. |
| <a id="subscriptiondiagnostics"></a>`SubscriptionDiagnostics` | `31` | The SubscriptionDiagnosticsType variable type. |
| <a id="subscriptiondiagnosticsarray"></a>`SubscriptionDiagnosticsArray` | `30` | The SubscriptionDiagnosticsArrayType variable type. |
| <a id="transitionvariable"></a>`TransitionVariable` | `32` | The TransitionVariableType variable type. |
| <a id="twostatediscrete"></a>`TwoStateDiscrete` | `33` | The TwoStateDiscreteType variable type. |
| <a id="twostatevariable"></a>`TwoStateVariable` | `34` | The TwoStateVariableType variable type. |
| <a id="xyarrayitem"></a>`XYArrayItem` | `35` | The XYArrayItemType variable type. |
| <a id="yarrayitem"></a>`YArrayItem` | `36` | The YArrayItemType variable type. |

## Applies to

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