Try our conversational search powered by Generative AI!

Class CanonicalLink

WebControl creating a canonical link to be used in the html header.

Inheritance
System.Object
CanonicalLink
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
public class CanonicalLink : WebControl

Constructors

Declaration
public CanonicalLink()

Properties

Declaration
public virtual string Language { get; set; }
Property Value
Type Description
System.String
Declaration
public virtual ContentReference PageLink { get; set; }
Property Value
Type Description
ContentReference
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
System.Web.UI.HtmlTextWriterTag

Methods

Render this control to the output parameter specified.

Declaration
protected override void Render(HtmlTextWriter output)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter output

The HTML writer to write out to

Extension Methods