Share via


IHtmlHelper.ViewData Property

Definition

Gets the current view data.

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

Property Value

Applies to