PageArgumentBinder.TryUpdateModelAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
TryUpdateModelAsync<TModel>(PageContext, TModel) | |
TryUpdateModelAsync<TModel>(PageContext, TModel, String) |
TryUpdateModelAsync<TModel>(PageContext, TModel)
public:
generic <typename TModel>
System::Threading::Tasks::Task<bool> ^ TryUpdateModelAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ context, TModel value);
public System.Threading.Tasks.Task<bool> TryUpdateModelAsync<TModel> (Microsoft.AspNetCore.Mvc.RazorPages.PageContext context, TModel value);
member this.TryUpdateModelAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * 'Model -> System.Threading.Tasks.Task<bool>
Public Function TryUpdateModelAsync(Of TModel) (context As PageContext, value As TModel) As Task(Of Boolean)
型パラメーター
- TModel
パラメーター
- context
- PageContext
- value
- TModel
戻り値
適用対象
TryUpdateModelAsync<TModel>(PageContext, TModel, String)
public:
generic <typename TModel>
System::Threading::Tasks::Task<bool> ^ TryUpdateModelAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ context, TModel value, System::String ^ name);
public System.Threading.Tasks.Task<bool> TryUpdateModelAsync<TModel> (Microsoft.AspNetCore.Mvc.RazorPages.PageContext context, TModel value, string name);
member this.TryUpdateModelAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * 'Model * string -> System.Threading.Tasks.Task<bool>
Public Function TryUpdateModelAsync(Of TModel) (context As PageContext, value As TModel, name As String) As Task(Of Boolean)
型パラメーター
- TModel
パラメーター
- context
- PageContext
- value
- TModel
- name
- String