RazorPageBase.InvalidTagHelperIndexerAssignment 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.
Mettez en forme un message d’erreur concernant l’utilisation d’un indexeur lorsque la propriété tag helper est null
.
public:
System::String ^ InvalidTagHelperIndexerAssignment(System::String ^ attributeName, System::String ^ tagHelperTypeName, System::String ^ propertyName);
public string InvalidTagHelperIndexerAssignment (string attributeName, string tagHelperTypeName, string propertyName);
member this.InvalidTagHelperIndexerAssignment : string * string * string -> string
Public Function InvalidTagHelperIndexerAssignment (attributeName As String, tagHelperTypeName As String, propertyName As String) As String
Paramètres
- attributeName
- String
Nom de l’attribut HTML associé à l’indexeur.
- propertyName
- String
Propriété dictionary dans le tag helper.
Retours
Message d’erreur concernant l’utilisation d’un indexeur lorsque la propriété tag helper est null
.
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