November Happy Hour will be moved to Thursday December 5th.

Class PermanentLinkMap

A class that provides mapping between a System.Guid ContentReference

Inheritance
System.Object
PermanentLinkMap
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class PermanentLinkMap

Constructors

PermanentLinkMap(Guid, ContentReference)

Creates a new instance of PermanentLinkMap

Declaration
public PermanentLinkMap(Guid guid, ContentReference contentLink)
Parameters
Type Name Description
System.Guid guid
ContentReference contentLink

Properties

ContentReference

Gets or sets the content reference.

Declaration
public ContentReference ContentReference { get; set; }
Property Value
Type Description
ContentReference

The page reference.

Extension

Gets or sets the extension.

Declaration
[Obsolete("No longer used")]
protected string Extension { get; set; }
Property Value
Type Description
System.String

The extension.

Remarks

The extension is needed as an accessory to get appropriate mapping for IIS etc for the URL

Guid

Gets or sets the GUID.

Declaration
public Guid Guid { get; protected set; }
Property Value
Type Description
System.Guid

The GUID.

HasMappedUrl

Gets a value indicating whether this instance has mapped URL.

Declaration
[Obsolete("No longer used")]
public bool HasMappedUrl { get; }
Property Value
Type Description
System.Boolean

true if this instance has mapped URL; otherwise, false.

HasPermanentLinkUrl

Gets a value indicating whether this instance has permanent link URL.

Declaration
[Obsolete("No longer used")]
public bool HasPermanentLinkUrl { get; }
Property Value
Type Description
System.Boolean

true if this instance has permanent link URL; otherwise, false.

IsMapped

Gets a value indicating whether this instance is successfully mapped.

Declaration
[Obsolete("No longer used")]
public bool IsMapped { get; }
Property Value
Type Description
System.Boolean

true if this instance is mapped; otherwise, false.

MappedUrl

Gets or sets the mapped URL.

Declaration
[Obsolete("This is no longer used. Use UrlResolver to get friendly url")]
public Uri MappedUrl { get; }
Property Value
Type Description
System.Uri

The mapped URL.

Remarks

The path is encoded in this representation. To use as a virtual path, decode with Uri.UnescapeDataString.

PermanentLinkUrl

Gets or sets the permanent link URL.

Declaration
public Uri PermanentLinkUrl { get; protected set; }
Property Value
Type Description
System.Uri

The permanent link URL. It is always relative.

Extension Methods