Templates.AddTemplate(String, List<String>, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new template and returns the updated Templates instance.
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
Parameters
- templateName
- String
New template name.
- templateBody
- String
New template body.
Returns
Updated LG file.