FormBuilderBase<T>.Field Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
Field(String, String, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Bron:
- FormBuilder.cs
public abstract Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Field (string name, string prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<T> validate = default);
abstract member Field : string * string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public MustOverride Function Field (name As String, prompt As String, Optional active As ActiveDelegate(Of T) = Nothing, Optional validate As ValidateAsyncDelegate(Of T) = Nothing) As IFormBuilder(Of T)
Parameters
- name
- String
- prompt
- String
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>
Retouren
Implementeringen
Van toepassing op
Field(String, PromptAttribute, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Bron:
- FormBuilder.cs
public abstract Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Field (string name, Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<T> validate = default);
abstract member Field : string * Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public MustOverride Function Field (name As String, prompt As PromptAttribute, Optional active As ActiveDelegate(Of T) = Nothing, Optional validate As ValidateAsyncDelegate(Of T) = Nothing) As IFormBuilder(Of T)
Parameters
- name
- String
- prompt
- PromptAttribute
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>
Retouren
Implementeringen
Van toepassing op
Field(IField<T>)
- Bron:
- FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Field (Microsoft.Bot.Builder.FormFlow.Advanced.IField<T> field);
abstract member Field : Microsoft.Bot.Builder.FormFlow.Advanced.IField<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
override this.Field : Microsoft.Bot.Builder.FormFlow.Advanced.IField<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Overridable Function Field (field As IField(Of T)) As IFormBuilder(Of T)
Parameters
- field
- IField<T>
Retouren
Implementeringen
Van toepassing op
Field(String, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Bron:
- FormBuilder.cs
public abstract Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Field (string name, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<T> validate = default);
abstract member Field : string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public MustOverride Function Field (name As String, Optional active As ActiveDelegate(Of T) = Nothing, Optional validate As ValidateAsyncDelegate(Of T) = Nothing) As IFormBuilder(Of T)
Parameters
- name
- String
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>