Class Image
Represents the properties of an image in a Sitecore layout service response.
Inheritance
System.Object
Image
Namespace: Sitecore.LayoutService.Client.Response.Model.Properties
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class Image : Object
Constructors
Image()
Declaration
public Image()
Properties
Alt
Gets or sets the alternative text of the image.
Declaration
public string Alt { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Src
Gets or sets the source of the image.
Declaration
public string Src { get; set; }
Property Value
Type | Description |
---|---|
System.String |