ViewComponentContext.ViewData Eigenschaft

Definition

Ruft das ViewDataDictionary ab.

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

Eigenschaftswert

Hinweise

Dies ist ein Alias für ViewContext.ViewData.

Gilt für: