Sdílet prostřednictvím


Templates.AddTemplate(String, List<String>, String) Metoda

Definice

Přidá novou šablonu a vrátí aktualizovanou instanci šablon.

public Microsoft.Bot.Builder.LanguageGeneration.Templates AddTemplate (string templateName, System.Collections.Generic.List<string> parameters, string templateBody);
member this.AddTemplate : string * System.Collections.Generic.List<string> * string -> Microsoft.Bot.Builder.LanguageGeneration.Templates
Public Function AddTemplate (templateName As String, parameters As List(Of String), templateBody As String) As Templates

Parametry

templateName
String

Nový název šablony.

parameters
List<String>

Nové parametry.

templateBody
String

Nový text šablony

Návraty

Aktualizovaný soubor LG.

Platí pro