# UploadFileBuilder

## Methods

### Extension(System.String)

The extension of the initial file.

#### Parameters

##### value - `System.String`

The value for Extension

#### RETURNS

Returns the current [UploadFileBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/uploadfilebuilder) instance.

#### Example

```
 
            @( Html.Kendo().Upload()
                .Name("files")
                .Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
                .Async(a => a
                    .Save("Save", "Compose")
                    .Remove("Remove", "Compose")
                )
            )
             
```

### Name(System.String)

The name of the initial file.

#### Parameters

##### value - `System.String`

The value for Name

#### RETURNS

Returns the current [UploadFileBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/uploadfilebuilder) instance.

#### Example

```
 
            @( Html.Kendo().Upload()
                .Name("files")
                .Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
                .Async(a => a
                    .Save("Save", "Compose")
                    .Remove("Remove", "Compose")
                )
            )
             
```

### Size(System.Double)

The size of the initial file.

#### Parameters

##### value - `System.Double`

The value for Size

#### RETURNS

Returns the current [UploadFileBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/uploadfilebuilder) instance.

#### Example

```
 
            @( Html.Kendo().Upload()
                .Name("files")
                .Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
                .Async(a => a
                    .Save("Save", "Compose")
                    .Remove("Remove", "Compose")
                )
            )
             
```
