Compartir a través de


ViewComponentContext.ViewData Propiedad

Definición

Obtiene la estructura ViewDataDictionary.

public:
 property Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ ViewData { Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ get(); };
public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; }
member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary
Public ReadOnly Property ViewData As ViewDataDictionary

Valor de propiedad

Comentarios

Se trata de un alias para ViewContext.ViewData.

Se aplica a