Aracılığıyla paylaş


HtmlContentBuilderExtensions.SetContent(IHtmlContentBuilder, String) Yöntem

Tanım

İçeriği String değerine ayarlar. Değer, sağlandığı gibi kodlanmamış olarak kabul edilir ve çıkışa yazmadan önce HTML kodlanır.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ SetContent(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder, System::String ^ unencoded);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder SetContent (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, string unencoded);
static member SetContent : Microsoft.AspNetCore.Html.IHtmlContentBuilder * string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function SetContent (builder As IHtmlContentBuilder, unencoded As String) As IHtmlContentBuilder

Parametreler

unencoded
String

İçeriğin String yerini alan değer.

Döndürülenler

IHtmlContentBuilder.

Şunlara uygulanır