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 SourceLocalLinkTag(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. |
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 SourceCulture
Declaration
public string? Culture { get; }
Property Value
| Type | Description |
|---|---|
| string |
IntId
Gets the integer identifier for legacy local links.
Declaration
public int? IntId { get; }
Property Value
| Type | Description |
|---|---|
| int? |
TagHref
Gets the original href value from the local link tag.
Declaration
public string TagHref { get; }
Property Value
| Type | Description |
|---|---|
| string |
Udi
Gets the GuidUdi for the linked content or media.
Declaration
public GuidUdi? Udi { get; }
Property Value
| Type | Description |
|---|---|
| GuidUdi |