Share via


StringHtmlContent(String) コンストラクター

定義

StringHtmlContent の新しいインスタンスを作成します

public:
 StringHtmlContent(System::String ^ input);
public StringHtmlContent (string input);
new Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent : string -> Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent
Public Sub New (input As String)

パラメーター

input
String

String が呼び出されたときに WriteTo(TextWriter, HtmlEncoder) HTML エンコードされます。

適用対象