Share via


MarkupString.Explicit(String to MarkupString) Operator

Definition

Casts a String to a MarkupString.

public:
 static explicit operator Microsoft::AspNetCore::Components::MarkupString(System::String ^ value);
public static explicit operator Microsoft.AspNetCore.Components.MarkupString (string value);
static member op_Explicit : string -> Microsoft.AspNetCore.Components.MarkupString
Public Shared Narrowing Operator CType (value As String) As MarkupString

Parameters

value
String

The String value.

Returns

Applies to