---
title: "Class File"
slug: "sitecore.layoutservice.client.response.model.properties.file"
abstract: ""
---
# Class File

Represents the properties of a file in a Sitecore layout service response.

## Inheritance

System.Object

File

### **Namespace**: Sitecore.LayoutService.Client.Response.Model.Properties

#### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

##### Syntax

```csharp
public class File : Object

```

### Constructors

#### File()

##### Declaration

```csharp
public File()

```

### Properties

#### Description

Gets or sets the description of the file.

##### Declaration

```csharp
public string Description { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### DisplayName

Gets or sets the display name of the file.

##### Declaration

```csharp
public string DisplayName { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Extension

Gets or sets the extension of the file.

##### Declaration

```csharp
public string Extension { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Keywords

Gets or sets the keywords for the file.

##### Declaration

```csharp
public string Keywords { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### MimeType

Gets or sets the mime type of the file.

##### Declaration

```csharp
public string MimeType { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Name

Gets or sets the name of the file.

##### Declaration

```csharp
public string Name { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Size

Gets or sets the size of the file.

##### Declaration

```csharp
public Nullable<long> Size { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int64<br><br>> |  |

#### Src

Gets or sets the source of the file.

##### Declaration

```csharp
public string Src { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Title

Gets or sets the title of the file.

##### Declaration

```csharp
public string Title { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |
