ViewResult.ViewData ViewResult.ViewData ViewResult.ViewData Property

Definition

Gets or sets the ViewDataDictionary for this result.

public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; set; }
member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary with get, set
Public Property ViewData As ViewDataDictionary

Property Value

Applies to