Поделиться через


HtmlContentViewComponentResult(IHtmlContent) Конструктор

Определение

Инициализирует новый объект HtmlContentViewComponentResult.

public:
 HtmlContentViewComponentResult(Microsoft::AspNetCore::Html::IHtmlContent ^ encodedContent);
public HtmlContentViewComponentResult (Microsoft.AspNetCore.Html.IHtmlContent encodedContent);
new Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult
Public Sub New (encodedContent As IHtmlContent)

Параметры

encodedContent
IHtmlContent

Применяется к