ContentViewComponentResult(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new 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)
Parameters
- content
- String
Content to write. The content will be HTML encoded when written.