ViewUserControl.EnsureViewData Method

Ensures that view data is added to the ViewDataDictionary object of the user control if the view data exists.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Protected Sub EnsureViewData
'Usage
Me.EnsureViewData()
Show: