RazorPage<TModel>.ViewData プロパティ

定義

ビュー データのディクショナリを取得または設定します。

public:
 property Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary<TModel> ^ ViewData { Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary<TModel> ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary<TModel> ^ value); };
[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject]
public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TModel> ViewData { get; set; }
[<Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject>]
member this.ViewData : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<'Model> with get, set
Public Property ViewData As ViewDataDictionary(Of TModel)

プロパティ値

属性
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute

適用対象