IActivityExtensions.SetLocale(IActivity, 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.
Sets the locale for the activity.
public static void SetLocale (this Microsoft.Bot.Schema.IActivity activity, string locale);
static member SetLocale : Microsoft.Bot.Schema.IActivity * string -> unit
<Extension()>
Public Sub SetLocale (activity As IActivity, locale As String)
Parameters
- locale
- String
The locale for the activity specified as a combination of an ISO 639 two- or three-letter culture code associated with a language.