Field<T>.SetDefine(DefineAsyncDelegate<T>) Field<T>.SetDefine(DefineAsyncDelegate<T>) Field<T>.SetDefine(DefineAsyncDelegate<T>) Method

Definition

Define a delegate for dynamically defining field.

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

Parameters

Returns

Remarks

When you dynamically define a field through this delegate you can use all of the fluent methods defined on Field<T> to change the descriptions and terms dynamically.

Applies to