Partilhar via


ViewViewComponentResult.ViewData Propriedade

Definição

Obtém ou define o ViewDataDictionary.

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; }
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

Valor da propriedade

Aplica-se a