PromptStyler.Apply 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
| Apply(IMessageActivity, String, String) |
Geef een prompt de stijl en vul de Textin. |
| Apply<T>(IMessageActivity, String, IReadOnlyList<T>, IReadOnlyList<String>, String) |
Geef een prompt de stijl en vul het bericht in op PromptStylebasis van . |
| Apply<T>(IMessageActivity, String, IReadOnlyList<T>, PromptStyle, IReadOnlyList<String>, String) |
Apply(IMessageActivity, String, String)
- Bron:
- PromptDialog.cs
Geef een prompt de stijl en vul de Textin.
public virtual void Apply(ref Microsoft.Bot.Connector.IMessageActivity message, string prompt, string speak = default);
abstract member Apply : IMessageActivity * string * string -> unit
override this.Apply : IMessageActivity * string * string -> unit
Public Overridable Sub Apply (ByRef message As IMessageActivity, prompt As String, Optional speak As String = Nothing)
Parameters
- message
- IMessageActivity
Het bericht dat de prompt bevat.
- prompt
- String
De prompt.
- speak
- String
Het woord.
Van toepassing op
Apply<T>(IMessageActivity, String, IReadOnlyList<T>, IReadOnlyList<String>, String)
- Bron:
- PromptDialog.cs
Geef een prompt de stijl en vul het bericht in op PromptStylebasis van .
public virtual void Apply<T>(ref Microsoft.Bot.Connector.IMessageActivity message, string prompt, System.Collections.Generic.IReadOnlyList<T> options, System.Collections.Generic.IReadOnlyList<string> descriptions = default, string speak = default);
abstract member Apply : IMessageActivity * string * System.Collections.Generic.IReadOnlyList<'T> * System.Collections.Generic.IReadOnlyList<string> * string -> unit
override this.Apply : IMessageActivity * string * System.Collections.Generic.IReadOnlyList<'T> * System.Collections.Generic.IReadOnlyList<string> * string -> unit
Public Overridable Sub Apply(Of T) (ByRef message As IMessageActivity, prompt As String, options As IReadOnlyList(Of T), Optional descriptions As IReadOnlyList(Of String) = Nothing, Optional speak As String = Nothing)
Type parameters
- T
Het type van de opties.
Parameters
- message
- IMessageActivity
Het bericht dat de prompt bevat.
- prompt
- String
De prompt.
- options
- IReadOnlyList<T>
De opties.
- descriptions
- IReadOnlyList<String>
Beschrijvingen die voor elke optie moeten worden weergegeven.
- speak
- String
Het woord.
Opmerkingen
T moeten worden geïmplementeerd ToString() , tenzij beschrijvingen worden opgegeven.
Van toepassing op
Apply<T>(IMessageActivity, String, IReadOnlyList<T>, PromptStyle, IReadOnlyList<String>, String)
- Bron:
- PromptDialog.cs
public static void Apply<T>(ref Microsoft.Bot.Connector.IMessageActivity message, string prompt, System.Collections.Generic.IReadOnlyList<T> options, Microsoft.Bot.Builder.Dialogs.PromptStyle promptStyle, System.Collections.Generic.IReadOnlyList<string> descriptions = default, string speak = default);
static member Apply : IMessageActivity * string * System.Collections.Generic.IReadOnlyList<'T> * Microsoft.Bot.Builder.Dialogs.PromptStyle * System.Collections.Generic.IReadOnlyList<string> * string -> unit
Public Shared Sub Apply(Of T) (ByRef message As IMessageActivity, prompt As String, options As IReadOnlyList(Of T), promptStyle As PromptStyle, Optional descriptions As IReadOnlyList(Of String) = Nothing, Optional speak As String = Nothing)
Type parameters
- T
Het type van de opties.
Parameters
- message
- IMessageActivity
Het bericht.
- prompt
- String
De prompt.
- options
- IReadOnlyList<T>
De opties.
- promptStyle
- PromptStyle
De promptstijl.
- descriptions
- IReadOnlyList<String>
Beschrijvingen voor elke optie.
- speak
- String
Het woord.