Compartir a través de


IHtmlHelper<TModel>.ViewData Propiedad

Definición

Obtiene los datos de vista actuales.

public:
 property Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary<TModel> ^ ViewData { Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary<TModel> ^ get(); };
public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TModel> ViewData { get; }
member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<'Model>
Public ReadOnly Property ViewData As ViewDataDictionary(Of TModel)

Valor de propiedad

Se aplica a