Dela via


HtmlContentViewComponentResult(IHtmlContent) Constructor

Definition

Initializes a new 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)

Parameters

encodedContent
IHtmlContent

Applies to