PageResult.ViewData Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ViewDataDictionary for the page to be executed.
public:
 property Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ ViewData { Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ value); };public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; set; }member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary with get, setPublic Property ViewData As ViewDataDictionary