Templates.UpdateTemplate(String, 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.
Updates an existing template in current Templates instance.
public Microsoft.Bot.Builder.LanguageGeneration.Templates UpdateTemplate (string templateName, string newTemplateName, System.Collections.Generic.List<string> parameters, string templateBody);
member this.UpdateTemplate : string * string * System.Collections.Generic.List<string> * string -> Microsoft.Bot.Builder.LanguageGeneration.Templates
Public Function UpdateTemplate (templateName As String, newTemplateName As String, parameters As List(Of String), templateBody As String) As Templates
Parameters
- templateName
- String
Original template name. The only id of a template.
- newTemplateName
- String
New template Name.
- templateBody
- String
New template body.
Returns
Updated LG file.