FormBuilder<T>.Field Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
Field(String, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Zdroj:
- FormBuilder.cs
public override 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);
override this.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 Overrides Function Field (name As String, Optional active As ActiveDelegate(Of T) = Nothing, Optional validate As ValidateAsyncDelegate(Of T) = Nothing) As IFormBuilder(Of T)
Parametry
- name
- String
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>
Návraty
Platí pro
Field(String, PromptAttribute, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Zdroj:
- FormBuilder.cs
public override 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);
override this.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 Overrides 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)
Parametry
- name
- String
- prompt
- PromptAttribute
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>
Návraty
Platí pro
Field(String, String, ActiveDelegate<T>, ValidateAsyncDelegate<T>)
- Zdroj:
- FormBuilder.cs
public override 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);
override this.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 Overrides 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)
Parametry
- name
- String
- prompt
- String
- active
- ActiveDelegate<T>
- validate
- ValidateAsyncDelegate<T>