Struct Hyperlink
- Namespace
- GuildWars2
- Assembly
- GW2SDK.dll
Represents a hyperlink.
public readonly record struct Hyperlink : IEquatable<Hyperlink>
- Implements
- Inherited Members
Remarks
Not meant to be used directly. A hyperlink is usually obtained from an API response. For example, to link to related resources.
Constructors
- Hyperlink(string)
Initializes a new instance of the Hyperlink struct.
- Hyperlink(Uri?)
Initializes a new instance of the Hyperlink struct.
Fields
- None
Represents an empty hyperlink.
Properties
- IsEmpty
Gets a value indicating whether the hyperlink is empty.
- Uri
The URL of the hyperlink.
- Url
The URL of the hyperlink.
Methods
- Deconstruct(out string)
Deconstructs the hyperlink into its Url string.
- Deconstruct(out Uri?)
Deconstructs the hyperlink into its Uri.