FormBuilderJson.Field Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Field(String, ActiveDelegate<JObject>, ValidateAsyncDelegate<JObject>)
- Source:
- FormBuilderJson.cs
public override Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject> Field (string name, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> validate = default);
override this.Field : string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject>
Public Overrides Function Field (name As String, Optional active As ActiveDelegate(Of JObject) = Nothing, Optional validate As ValidateAsyncDelegate(Of JObject) = Nothing) As IFormBuilder(Of JObject)
Paramètres
- name
- String
- active
- ActiveDelegate<Newtonsoft.Json.Linq.JObject>
- validate
- ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject>
Retours
IFormBuilder<Newtonsoft.Json.Linq.JObject>
S’applique à
Field(String, PromptAttribute, ActiveDelegate<JObject>, ValidateAsyncDelegate<JObject>)
- Source:
- FormBuilderJson.cs
public override Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject> Field (string name, Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> validate = default);
override this.Field : string * Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject>
Public Overrides Function Field (name As String, prompt As PromptAttribute, Optional active As ActiveDelegate(Of JObject) = Nothing, Optional validate As ValidateAsyncDelegate(Of JObject) = Nothing) As IFormBuilder(Of JObject)
Paramètres
- name
- String
- prompt
- PromptAttribute
- active
- ActiveDelegate<Newtonsoft.Json.Linq.JObject>
- validate
- ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject>
Retours
IFormBuilder<Newtonsoft.Json.Linq.JObject>
S’applique à
Field(String, String, ActiveDelegate<JObject>, ValidateAsyncDelegate<JObject>)
- Source:
- FormBuilderJson.cs
public override Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject> Field (string name, string prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> active = default, Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> validate = default);
override this.Field : string * string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<Newtonsoft.Json.Linq.JObject> * Microsoft.Bot.Builder.FormFlow.ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<Newtonsoft.Json.Linq.JObject>
Public Overrides Function Field (name As String, prompt As String, Optional active As ActiveDelegate(Of JObject) = Nothing, Optional validate As ValidateAsyncDelegate(Of JObject) = Nothing) As IFormBuilder(Of JObject)
Paramètres
- name
- String
- prompt
- String
- active
- ActiveDelegate<Newtonsoft.Json.Linq.JObject>
- validate
- ValidateAsyncDelegate<Newtonsoft.Json.Linq.JObject>
Retours
IFormBuilder<Newtonsoft.Json.Linq.JObject>