Share via


ContentViewComponentResult(String) Konstruktor

Definice

Inicializuje nový ContentViewComponentResult.

public:
 ContentViewComponentResult(System::String ^ content);
public ContentViewComponentResult (string content);
new Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult : string -> Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult
Public Sub New (content As String)

Parametry

content
String

Obsah, který se má psát. Obsah bude při zápisu zakódován ve formátu HTML.

Platí pro