/// <summary> /// Create a new <Lang/> element and append it as a child of this element. /// </summary> /// <param name="words"> Words to speak, the body of the TwiML Element. </param> /// <param name="xml:Lang"> Specify the language </param> public Say Lang(string words = null, SsmlLang.XmlLangEnum xmlLang = null) { var newChild = new SsmlLang(words, xmlLang); this.Append(newChild); return(this); }
public Say SsmlLang(string words = null, SsmlLang.XmlLangEnum xmlLang = null) { return(Lang(words, xmlLang)); }
/// <summary> /// Create a new SsmlLang /// </summary> /// <param name="words"> Words to speak, the body of the TwiML Element. </param> /// <param name="xml:Lang"> Specify the language </param> public SsmlLang(string words = null, SsmlLang.XmlLangEnum xmlLang = null) : base("lang") { this.Words = words; this.XmlLang = xmlLang; }