Partager via


PageContext.ViewData Propriété

Définition

Obtient ou définit l'élément ViewDataDictionary.

public:
 virtual property Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ ViewData { Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ value); };
public virtual Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; set; }
member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary with get, set
Public Overridable Property ViewData As ViewDataDictionary

Valeur de propriété

S’applique à