Share via


Templates.UpdateTemplate(String, String, List<String>, String) Method

Definition

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.

parameters
List<String>

New params.

templateBody
String

New template body.

Returns

Updated LG file.

Applies to