IClientValidationService.GetClientValidationAttributes 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.
Obtient les data-val-* attributs HTML d’un champ de formulaire.
Retourne null si aucun attribut de validation ne s’applique.
public System.Collections.Generic.IReadOnlyDictionary<string,object>? GetClientValidationAttributes(Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
abstract member GetClientValidationAttributes : Microsoft.AspNetCore.Components.Forms.FieldIdentifier -> System.Collections.Generic.IReadOnlyDictionary<string, obj>
Public Function GetClientValidationAttributes (fieldIdentifier As FieldIdentifier) As IReadOnlyDictionary(Of String, Object)
Paramètres
- fieldIdentifier
- FieldIdentifier