Struct S128XlinkReference
An xlink:href reference carried on a feature.
public readonly record struct S128XlinkReference : IEquatable<S128XlinkReference>
- Implements
- Inherited Members
Constructors
S128XlinkReference(string, string, string?, string)
An xlink:href reference carried on a feature.
public S128XlinkReference(string Role, string Href, string? Arcrole, string TargetId)
Parameters
RolestringThe local name of the carrying element (e.g.
elementContainer,theReference).HrefstringThe raw xlink href value (typically
#idfor local references).ArcrolestringOptional
xlink:arcroleattribute.TargetIdstringThe trimmed identifier portion of
Href(leading#stripped).
Properties
Arcrole
Optional xlink:arcrole attribute.
public string? Arcrole { get; init; }
Property Value
Href
The raw xlink href value (typically #id for local references).
public string Href { get; init; }
Property Value
Role
The local name of the carrying element (e.g. elementContainer, theReference).
public string Role { get; init; }
Property Value
TargetId
The trimmed identifier portion of Href (leading # stripped).
public string TargetId { get; init; }