Class PermanentLinkMap
A class that provides mapping between a System.Guid ContentReference
Inherited Members
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class PermanentLinkMapConstructors
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 | 
 | 
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 | 
 | 
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 | 
 | 
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. | 
