FromUriAttribute Classe
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.
Attribut qui spécifie que la valeur peut être liée à partir de la chaîne de requête ou des données de routage.
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public class FromUriAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IOptionalBinderMetadata
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type FromUriAttribute = class
inherit Attribute
interface IOptionalBinderMetadata
interface IBindingSourceMetadata
interface IModelNameProvider
Public Class FromUriAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider, IOptionalBinderMetadata
- Héritage
-
FromUriAttribute
- Attributs
- Implémente
Constructeurs
FromUriAttribute() |
Initialise une nouvelle instance de la classe FromUriAttribute. |
Propriétés
BindingSource |
Obtient BindingSource. |
IsOptional |
Obtient une valeur indiquant si le paramètre participe à API Web ASP.NET surcharge d’action. Si |
Name |
Nom du modèle |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour