IClientValidationService.GetClientValidationAttributes Méthode

Définition

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

Retours

S’applique à