PageArgumentBinder.TryUpdateModelAsync Metodo

Definizione

Overload

TryUpdateModelAsync<TModel>(PageContext, TModel)
TryUpdateModelAsync<TModel>(PageContext, TModel, String)

TryUpdateModelAsync<TModel>(PageContext, TModel)

Origine:
PageArgumentBinder.cs
Origine:
PageArgumentBinder.cs
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)

Parametri di tipo

TModel

Parametri

context
PageContext
value
TModel

Restituisce

Si applica a

TryUpdateModelAsync<TModel>(PageContext, TModel, String)

Origine:
PageArgumentBinder.cs
Origine:
PageArgumentBinder.cs
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)

Parametri di tipo

TModel

Parametri

context
PageContext
value
TModel
name
String

Restituisce

Si applica a