# IntegerField

> Constructor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## IntegerField()

Constructor.

```csharp
public IntegerField()
```

## IntegerField(int)

Constructor.

```csharp
public IntegerField(int maxLength)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Maximum number of characters the field can take.

## IntegerField(string, int)

Constructor.

```csharp
public IntegerField(string label, int maxLength = 1000)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Maximum number of characters the field can take.
