---
id: fast-foundation.switch._constructor_
title: Switch.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Switch](./fast-foundation.switch.md) &gt; [(constructor)](./fast-foundation.switch._constructor_.md)

## Switch.(constructor)

Constructs a new instance of the `Switch` class

<b>Signature:</b>

```typescript
constructor();
```