Partager via


Field<T>.SetValidate(ValidateAsyncDelegate<T>) Méthode

Définition

Définissez la validation du champ.

public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> SetValidate (Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<T> validate);
member this.SetValidate : Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function SetValidate (validate As ValidateAsyncDelegate(Of T)) As Field(Of T)

Paramètres

validate
ValidateAsyncDelegate<T>

Validateur.

Retours

Un Field<T>.

S’applique à