> ## Documentation Index
> Fetch the complete documentation index at: https://dotnetdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VersionConfig

> Represents a version configuration in Mintlify navigation.

## Definition

**Assembly:** Mintlify.Core.dll

**Namespace:** Mintlify.Core.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
Mintlify.Core.Models.VersionConfig
```

## Summary

Represents a version configuration in Mintlify navigation.

## Remarks

Versions allow you to maintain multiple documentation versions.
The version name is required.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

#### Syntax

```csharp theme={"dark"}
public VersionConfig()
```

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Anchors

Gets or sets the anchors for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Mintlify.Core.Models.AnchorConfig> Anchors { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Mintlify.Core.Models.AnchorConfig>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> AsyncApi

Gets or sets the AsyncAPI configuration.

#### Syntax

```csharp theme={"dark"}
public object AsyncApi { get; set; }
```

#### Property Value

Type: `object?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Default

Gets or sets whether this version is the default version.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> Default { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Dropdowns

Gets or sets the dropdowns for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Mintlify.Core.Models.DropdownConfig> Dropdowns { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Mintlify.Core.Models.DropdownConfig>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Global

Gets or sets the global navigation configuration.

#### Syntax

```csharp theme={"dark"}
public Mintlify.Core.Models.GlobalNavigationConfig Global { get; set; }
```

#### Property Value

Type: `Mintlify.Core.Models.GlobalNavigationConfig?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Groups

Gets or sets the groups for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Mintlify.Core.Models.GroupConfig> Groups { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Mintlify.Core.Models.GroupConfig>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Hidden

Gets or sets whether the current option is default hidden.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> Hidden { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Href

Gets or sets the URL or path for the version.

#### Syntax

```csharp theme={"dark"}
public string Href { get; set; }
```

#### Property Value

Type: `string?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Languages

Gets or sets the languages for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Mintlify.Core.Models.LanguageConfig> Languages { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Mintlify.Core.Models.LanguageConfig>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> OpenApi

Gets or sets the OpenAPI configuration.

#### Syntax

```csharp theme={"dark"}
public object OpenApi { get; set; }
```

#### Property Value

Type: `object?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Pages

Gets or sets the pages for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<object> Pages { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<object>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Tabs

Gets or sets the tabs for the version.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Mintlify.Core.Models.TabConfig> Tabs { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Mintlify.Core.Models.TabConfig>?`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Version

Gets or sets the name of the version.

#### Syntax

```csharp theme={"dark"}
public string Version { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

This is a required field that identifies the version.

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
