ContentViewComponentResult Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
IViewComponentResult Yürütülürken metin yazan bir.
public ref class ContentViewComponentResult : Microsoft::AspNetCore::Mvc::IViewComponentResult
public class ContentViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult
type ContentViewComponentResult = class
interface IViewComponentResult
Public Class ContentViewComponentResult
Implements IViewComponentResult
- Devralma
-
ContentViewComponentResult
- Uygulamalar
Açıklamalar
Sağlanan içerik yazıldığında HTML ile kodlanır. Önceden kodlanmış içerik yazmak için kullanın HtmlContentViewComponentResult.
Oluşturucular
ContentViewComponentResult(String) |
Yeni ContentViewComponentResultbir başlatır. |
Özellikler
Content |
İçeriği alır. |
Yöntemler
Execute(ViewComponentContext) |
kodunu kodlar ve yazar Content. |
ExecuteAsync(ViewComponentContext) |
kodunu kodlar ve yazar Content. |