IClientValidationService.GetClientValidationAttributes Método

Definição

Obtém os data-val-* atributos HTML de um campo de formulário. Retorna null se nenhum atributo de validação se aplicar.

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)

Parâmetros

fieldIdentifier
FieldIdentifier

Retornos

Aplica-se a