Click or drag to resize
IMediaFileUrlRelativePath Property
Relative path of the media file.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
string RelativePath { get; }

Property Value

Type: String

Implements

IFileUrlRelativePath
Remarks
Generates various path types depending on the media library location:
PathLocation
~/getmedia/fileGUID/fileName.extensionMedia file is located in a media library on the current site.
http://domain.com/getmedia/fileGUID/fileName.extensionMedia file is located in a media library on a different site.
See Also