MarkupString Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A string value that can be rendered as markup such as HTML.
public value class MarkupString
C#
public readonly struct MarkupString
type MarkupString = struct
Public Structure MarkupString
- Inheritance
-
MarkupString
Markup |
Constructs an instance of MarkupString. |
Value |
Gets the value of the MarkupString. |
To |
Returns the fully qualified type name of this instance. |
Explicit(String to Markup |
Casts a String to a MarkupString. |
Product | Versions |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |