Search Results for

    Show / Hide Table of Contents
    View Source

    Class HtmlLocalLinkParser.LocalLinkTag

    Represents a local link tag extracted from HTML content.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Templates
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("This is a temporary method to support legacy formats until we are sure all data has been migrated. Scheduled for removal in Umbraco 18.")]
    public class HtmlLocalLinkParser.LocalLinkTag

    Constructors

    View Source

    LocalLinkTag(int?, GuidUdi?, string)

    Initializes a new instance of the HtmlLocalLinkParser.LocalLinkTag class.

    Declaration
    public LocalLinkTag(int? intId, GuidUdi? udi, string tagHref)
    Parameters
    Type Name Description
    int? intId

    The integer identifier for legacy links.

    GuidUdi udi

    The GuidUdi for the linked content or media.

    string tagHref

    The original href value from the tag.

    View Source

    LocalLinkTag(int?, GuidUdi?, string, string?)

    Declaration
    public LocalLinkTag(int? intId, GuidUdi? udi, string tagHref, string? culture = null)
    Parameters
    Type Name Description
    int? intId
    GuidUdi udi
    string tagHref
    string culture

    Properties

    View Source

    Culture

    Declaration
    public string? Culture { get; }
    Property Value
    Type Description
    string
    View Source

    IntId

    Gets the integer identifier for legacy local links.

    Declaration
    public int? IntId { get; }
    Property Value
    Type Description
    int?
    View Source

    TagHref

    Gets the original href value from the local link tag.

    Declaration
    public string TagHref { get; }
    Property Value
    Type Description
    string
    View Source

    Udi

    Gets the GuidUdi for the linked content or media.

    Declaration
    public GuidUdi? Udi { get; }
    Property Value
    Type Description
    GuidUdi
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX