Class File
Version: 21.x
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
Constructors
File()
Declaration
Properties
Description
Gets or sets the description of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
Gets or sets the display name of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Extension
Gets or sets the extension of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Keywords
Gets or sets the keywords for the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
MimeType
Gets or sets the mime type of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or sets the name of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Size
Gets or sets the size of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Src
Gets or sets the source of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Title
Gets or sets the title of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |