PageArgumentBinder.BindModelAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
BindModelAsync(PageContext, Type, Object, String) | |
BindModelAsync<TModel>(PageContext, String) | |
BindModelAsync<TModel>(PageContext, TModel, String) |
BindModelAsync(PageContext, Type, Object, String)
- Source:
- PageArgumentBinder.cs
- Source:
- PageArgumentBinder.cs
public:
System::Threading::Tasks::Task<System::Object ^> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ context, Type ^ type, System::Object ^ default, System::String ^ name);
public System.Threading.Tasks.Task<object> BindModelAsync (Microsoft.AspNetCore.Mvc.RazorPages.PageContext context, Type type, object default, string name);
member this.BindModelAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * Type * obj * string -> System.Threading.Tasks.Task<obj>
Public Function BindModelAsync (context As PageContext, type As Type, default As Object, name As String) As Task(Of Object)
Paramètres
- context
- PageContext
- type
- Type
- default
- Object
- name
- String
Retours
S’applique à
BindModelAsync<TModel>(PageContext, String)
- Source:
- PageArgumentBinder.cs
- Source:
- PageArgumentBinder.cs
public:
generic <typename TModel>
System::Threading::Tasks::Task<TModel> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ context, System::String ^ name);
public System.Threading.Tasks.Task<TModel> BindModelAsync<TModel> (Microsoft.AspNetCore.Mvc.RazorPages.PageContext context, string name);
member this.BindModelAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * string -> System.Threading.Tasks.Task<'Model>
Public Function BindModelAsync(Of TModel) (context As PageContext, name As String) As Task(Of TModel)
Paramètres de type
- TModel
Paramètres
- context
- PageContext
- name
- String
Retours
Task<TModel>
S’applique à
BindModelAsync<TModel>(PageContext, TModel, String)
- Source:
- PageArgumentBinder.cs
- Source:
- PageArgumentBinder.cs
public:
generic <typename TModel>
System::Threading::Tasks::Task<TModel> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ context, TModel default, System::String ^ name);
public System.Threading.Tasks.Task<TModel> BindModelAsync<TModel> (Microsoft.AspNetCore.Mvc.RazorPages.PageContext context, TModel default, string name);
member this.BindModelAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * 'Model * string -> System.Threading.Tasks.Task<'Model>
Public Function BindModelAsync(Of TModel) (context As PageContext, default As TModel, name As String) As Task(Of TModel)
Paramètres de type
- TModel
Paramètres
- context
- PageContext
- default
- TModel
- name
- String
Retours
Task<TModel>