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
RequestResponse
public class File : ObjectConstructors
File()
Declaration
RequestResponse
public File()Properties
Description
Gets or sets the description of the file.
Declaration
RequestResponse
public string Description { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
Gets or sets the display name of the file.
Declaration
RequestResponse
public string DisplayName { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Extension
Gets or sets the extension of the file.
Declaration
RequestResponse
public string Extension { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Keywords
Gets or sets the keywords for the file.
Declaration
RequestResponse
public string Keywords { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
MimeType
Gets or sets the mime type of the file.
Declaration
RequestResponse
public string MimeType { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or sets the name of the file.
Declaration
RequestResponse
public string Name { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Size
Gets or sets the size of the file.
Declaration
RequestResponse
public Nullable<long> Size { get; set; }Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Src
Gets or sets the source of the file.
Declaration
RequestResponse
public string Src { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Title
Gets or sets the title of the file.
Declaration
RequestResponse
public string Title { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |