/// <summary> /// Create a new <Say-As/> element and append it as a child of this element. /// </summary> /// <param name="words"> Words to be interpreted, the body of the TwiML Element. </param> /// <param name="interpret-As"> Specify the type of words are spoken </param> /// <param name="role"> Specify the format of the date when interpret-as is set to date </param> public Say SayAs(string words = null, SsmlSayAs.InterpretAsEnum interpretAs = null, SsmlSayAs.RoleEnum role = null) { var newChild = new SsmlSayAs(words, interpretAs, role); this.Append(newChild); return(this); }
/// <summary> /// Create a new SsmlSayAs /// </summary> /// <param name="words"> Words to be interpreted, the body of the TwiML Element. </param> /// <param name="interpret-As"> Specify the type of words are spoken </param> /// <param name="role"> Specify the format of the date when interpret-as is set to date </param> public SsmlSayAs(string words = null, SsmlSayAs.InterpretAsEnum interpretAs = null, SsmlSayAs.RoleEnum role = null) : base("say-as") { this.Words = words; this.InterpretAs = interpretAs; this.Role = role; }
public Say SsmlSayAs(string words = null, SsmlSayAs.InterpretAsEnum interpretAs = null, SsmlSayAs.RoleEnum role = null) { return(SayAs(words, interpretAs, role)); }