Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Pages.LinkAltManager.AddLinkAltTag Method

Used to add a <link rel='alternate'...> tag to the current page.

Class: YetaWF.Core.Pages.LinkAltManager
Namespace: YetaWF.Core.Pages
Assembly: YetaWF.Core

Syntax

public void AddLinkAltTag(
    string name,
    string type,
    string title,
    string href );

Parameters

name

The name (used as key) for the link tag being added. It is not rendered and only used to avoid collisions between different link tags. The name should consist of the area name followed by an area-specific key. For example, the YetaWF.Text package would use a name of "YetaWF_Text_MyKey".

type

The type of link tag being added. This renders as the link's type attribute.

title

The title of the link tag being added. This renders as the link's title attribute.

href

The URL of the link being added. This renders as the link's href attribute.

Remarks

Link tags added using AddLinkAltTag are automatically rendered once the page has been completely processed.

See Also YetaWF.Core.Pages.LinkAltManager ClassYetaWF.Core Overview