Aracılığıyla paylaş


ViewComponent.Content(String) Yöntem

Tanım

HTML kodlanmış metni işleyecek bir sonuç döndürür.

public:
 Microsoft::AspNetCore::Mvc::ViewComponents::ContentViewComponentResult ^ Content(System::String ^ content);
public Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult Content (string content);
member this.Content : string -> Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult
Public Function Content (content As String) As ContentViewComponentResult

Parametreler

content
String

İçerik, çıkış öncesinde HTML olarak kodlanır.

Döndürülenler

Bir ContentViewComponentResult.

Şunlara uygulanır