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.7Syntax
public class CanonicalLink : WebControl
Constructors
CanonicalLink()
Declaration
public CanonicalLink()
Properties
Language
Declaration
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageLink
Declaration
public virtual ContentReference PageLink { get; set; }
Property Value
Type | Description |
---|---|
ContentReference |
TagKey
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type | Description |
---|---|
System.Web.UI.HtmlTextWriterTag |
Methods
Render(HtmlTextWriter)
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 |