SaaS CMS has officially launched! Learn more now.

Class ImageUrlAttribute

Assigns an URL to an image describing the object.

Inheritance
System.Object
ImageUrlAttribute
Namespace: EPiServer.DataAnnotations
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ImageUrlAttribute : Attribute
Remarks

Used by PageType to set the page type image.

Constructors

ImageUrlAttribute(String)

Initializes a new instance of the ImageUrlAttribute class.

Declaration
public ImageUrlAttribute(string path)
Parameters
Type Name Description
System.String path

The path.

Properties

Path

Gets the path to the image.

Declaration
public virtual string Path { get; }
Property Value
Type Description
System.String

Extension Methods