# OpcVariableTypes Members

> Reference: Provides the identifiers of the variable types defined by the OPC UA namespace.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcVariableTypes</a></dd>
<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>

## Fields

### AnalogItemId

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

Identifies the AnalogItemType variable type.

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

```csharp
public static readonly OpcNodeId AnalogItemId
```

</div>

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

```vbnet
Public Shared ReadOnly AnalogItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### AnalogUnitId

<span class="api-meta">static · since v2.50</span>

Identifies the AnalogUnitType variable type.

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

```csharp
public static readonly OpcNodeId AnalogUnitId
```

</div>

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

```vbnet
Public Shared ReadOnly AnalogUnitId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### AnalogUnitRangeId

<span class="api-meta">static · since v2.50</span>

Identifies the AnalogUnitRangeType variable type.

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

```csharp
public static readonly OpcNodeId AnalogUnitRangeId
```

</div>

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

```vbnet
Public Shared ReadOnly AnalogUnitRangeId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ArrayItemId

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

Identifies the ArrayItemType variable type.

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

```csharp
public static readonly OpcNodeId ArrayItemId
```

</div>

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

```vbnet
Public Shared ReadOnly ArrayItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### BaseDataVariableId

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

Identifies the BaseDataVariableType variable type.

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

```csharp
public static readonly OpcNodeId BaseDataVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly BaseDataVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### BaseVariableId

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

Identifies the BaseVariableType variable type.

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

```csharp
public static readonly OpcNodeId BaseVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly BaseVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### BuildInfoId

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

Identifies the BuildInfoType variable type.

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

```csharp
public static readonly OpcNodeId BuildInfoId
```

</div>

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

```vbnet
Public Shared ReadOnly BuildInfoId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ConditionVariableId

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

Identifies the ConditionVariableType variable type.

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

```csharp
public static readonly OpcNodeId ConditionVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly ConditionVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### CubeItemId

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

Identifies the CubeItemType variable type.

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

```csharp
public static readonly OpcNodeId CubeItemId
```

</div>

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

```vbnet
Public Shared ReadOnly CubeItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DataItemTypeId

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

Identifies the DataItemType variable type.

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

```csharp
public static readonly OpcNodeId DataItemTypeId
```

</div>

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

```vbnet
Public Shared ReadOnly DataItemTypeId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DataTypeDescriptionId

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

Identifies the DataTypeDescriptionType variable type.

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

```csharp
public static readonly OpcNodeId DataTypeDescriptionId
```

</div>

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

```vbnet
Public Shared ReadOnly DataTypeDescriptionId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DataTypeDictionaryId

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

Identifies the DataTypeDictionaryType variable type.

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

```csharp
public static readonly OpcNodeId DataTypeDictionaryId
```

</div>

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

```vbnet
Public Shared ReadOnly DataTypeDictionaryId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DiscreteItemId

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

Identifies the DiscreteItemType variable type.

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

```csharp
public static readonly OpcNodeId DiscreteItemId
```

</div>

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

```vbnet
Public Shared ReadOnly DiscreteItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### FiniteStateVariableId

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

Identifies the FiniteStateVariableType variable type.

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

```csharp
public static readonly OpcNodeId FiniteStateVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly FiniteStateVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### FiniteTransitionVariableId

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

Identifies the FiniteTransitionVariableType variable type.

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

```csharp
public static readonly OpcNodeId FiniteTransitionVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly FiniteTransitionVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ImageItemId

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

Identifies the ImageItemType variable type.

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

```csharp
public static readonly OpcNodeId ImageItemId
```

</div>

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

```vbnet
Public Shared ReadOnly ImageItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### MultiStateDiscreteId

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

Identifies the MultiStateDiscreteType variable type.

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

```csharp
public static readonly OpcNodeId MultiStateDiscreteId
```

</div>

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

```vbnet
Public Shared ReadOnly MultiStateDiscreteId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### MultiStateValueDiscreteId

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

Identifies the MultiStateValueDiscreteType variable type.

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

```csharp
public static readonly OpcNodeId MultiStateValueDiscreteId
```

</div>

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

```vbnet
Public Shared ReadOnly MultiStateValueDiscreteId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### NDimensionArrayItemId

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

Identifies the NDimensionArrayItemType variable type.

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

```csharp
public static readonly OpcNodeId NDimensionArrayItemId
```

</div>

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

```vbnet
Public Shared ReadOnly NDimensionArrayItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### OptionSetId

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

Identifies the OptionSetType variable type.

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

```csharp
public static readonly OpcNodeId OptionSetId
```

</div>

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

```vbnet
Public Shared ReadOnly OptionSetId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ProgramDiagnosticId

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

Identifies the ProgramDiagnosticType variable type.

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

```csharp
public static readonly OpcNodeId ProgramDiagnosticId
```

</div>

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

```vbnet
Public Shared ReadOnly ProgramDiagnosticId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### PropertyId

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

Identifies the PropertyType variable type.

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

```csharp
public static readonly OpcNodeId PropertyId
```

</div>

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

```vbnet
Public Shared ReadOnly PropertyId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SamplingIntervalDiagnosticsArrayId

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

Identifies the SamplingIntervalDiagnosticsArrayType variable type.

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

```csharp
public static readonly OpcNodeId SamplingIntervalDiagnosticsArrayId
```

</div>

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

```vbnet
Public Shared ReadOnly SamplingIntervalDiagnosticsArrayId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SamplingIntervalDiagnosticsId

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

Identifies the SamplingIntervalDiagnosticsType variable type.

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

```csharp
public static readonly OpcNodeId SamplingIntervalDiagnosticsId
```

</div>

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

```vbnet
Public Shared ReadOnly SamplingIntervalDiagnosticsId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ServerDiagnosticsSummaryId

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

Identifies the ServerDiagnosticsSummaryType variable type.

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

```csharp
public static readonly OpcNodeId ServerDiagnosticsSummaryId
```

</div>

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

```vbnet
Public Shared ReadOnly ServerDiagnosticsSummaryId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ServerStatusId

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

Identifies the ServerStatusType variable type.

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

```csharp
public static readonly OpcNodeId ServerStatusId
```

</div>

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

```vbnet
Public Shared ReadOnly ServerStatusId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ServerVendorCapabilityId

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

Identifies the ServerVendorCapabilityType variable type.

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

```csharp
public static readonly OpcNodeId ServerVendorCapabilityId
```

</div>

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

```vbnet
Public Shared ReadOnly ServerVendorCapabilityId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SessionDiagnosticsArrayId

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

Identifies the ServerVendorCapabilityType variable type.

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

```csharp
public static readonly OpcNodeId SessionDiagnosticsArrayId
```

</div>

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

```vbnet
Public Shared ReadOnly SessionDiagnosticsArrayId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SessionDiagnosticsVariableId

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

Identifies the SessionDiagnosticsVariableType variable type.

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

```csharp
public static readonly OpcNodeId SessionDiagnosticsVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly SessionDiagnosticsVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SessionSecurityDiagnosticsArrayId

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

Identifies the SessionSecurityDiagnosticsArrayType variable type.

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

```csharp
public static readonly OpcNodeId SessionSecurityDiagnosticsArrayId
```

</div>

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

```vbnet
Public Shared ReadOnly SessionSecurityDiagnosticsArrayId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SessionSecurityDiagnosticsId

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

Identifies the SessionSecurityDiagnosticsType variable type.

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

```csharp
public static readonly OpcNodeId SessionSecurityDiagnosticsId
```

</div>

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

```vbnet
Public Shared ReadOnly SessionSecurityDiagnosticsId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### StateVariableId

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

Identifies the StateVariableType variable type.

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

```csharp
public static readonly OpcNodeId StateVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly StateVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SubscriptionDiagnosticsArrayId

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

Identifies the SubscriptionDiagnosticsArrayType variable type.

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

```csharp
public static readonly OpcNodeId SubscriptionDiagnosticsArrayId
```

</div>

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

```vbnet
Public Shared ReadOnly SubscriptionDiagnosticsArrayId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### SubscriptionDiagnosticsId

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

Identifies the SubscriptionDiagnosticsType variable type.

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

```csharp
public static readonly OpcNodeId SubscriptionDiagnosticsId
```

</div>

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

```vbnet
Public Shared ReadOnly SubscriptionDiagnosticsId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### TransitionVariableId

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

Identifies the TransitionVariableType variable type.

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

```csharp
public static readonly OpcNodeId TransitionVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly TransitionVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### TwoStateDiscreteId

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

Identifies the TwoStateDiscreteType variable type.

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

```csharp
public static readonly OpcNodeId TwoStateDiscreteId
```

</div>

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

```vbnet
Public Shared ReadOnly TwoStateDiscreteId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### TwoStateVariableId

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

Identifies the TwoStateVariableType variable type.

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

```csharp
public static readonly OpcNodeId TwoStateVariableId
```

</div>

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

```vbnet
Public Shared ReadOnly TwoStateVariableId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### XYArrayItemId

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

Identifies the XYArrayItemType variable type.

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

```csharp
public static readonly OpcNodeId XYArrayItemId
```

</div>

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

```vbnet
Public Shared ReadOnly XYArrayItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### YArrayItemId

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

Identifies the YArrayItemType variable type.

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

```csharp
public static readonly OpcNodeId YArrayItemId
```

</div>

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

```vbnet
Public Shared ReadOnly YArrayItemId As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

## Methods

### GetNodeId

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

Determines the identifier of the variable type represented by the `type` specified.

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

```csharp
public static OpcNodeId GetNodeId(OpcVariableType type)
```

</div>

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

```vbnet
Public Shared Function GetNodeId(type As OpcVariableType) As OpcNodeId
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `type` | [OpcVariableType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariabletype/) | The variable type whose identifier is to be determined. |

**Returns**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

The identifier of the variable type.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `type` is not one of the members defined by the [OpcVariableType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariabletype/) enumeration. |
