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 k zápisu Obsah bude kódován kódem HTML při zápisu.

Platí pro