Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MarkupString Struct

Definition

Namespace:
Microsoft.AspNetCore.Components
Assembly:
Microsoft.AspNetCore.Components.dll
Package:
Microsoft.AspNetCore.Components v10.0.0
Package:
Microsoft.AspNetCore.Components v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components v3.0.3
Package:
Microsoft.AspNetCore.Components v3.1.18
Package:
Microsoft.AspNetCore.Components v5.0.9
Package:
Microsoft.AspNetCore.Components v6.0.6
Package:
Microsoft.AspNetCore.Components v7.0.5
Package:
Microsoft.AspNetCore.Components v8.0.19
Package:
Microsoft.AspNetCore.Components v9.0.8
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs
Source:
MarkupString.cs

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
public readonly struct MarkupString
type MarkupString = struct
Public Structure MarkupString
Inheritance
MarkupString

Constructors

Name Description
MarkupString(String)

Constructs an instance of MarkupString.

Properties

Name Description
Value

Gets the value of the MarkupString.

Methods

Name Description
ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Explicit(String to MarkupString)

Casts a String to a MarkupString.

Applies to


Feedback

Was this page helpful?