public IHTMLTableRow AddRow(params object[] e) { IHTMLTableRow r = AddRow(); foreach (object x in e) { IHTMLTableColumn c = new IHTMLTableColumn(); Expando q = Expando.Of(x); if (x == null) { // do nothing } else if (q.IsString) { c.innerHTML = q.GetValue(); } else { c.appendChild(q.To <INode>()); } r.appendChild(c); } return(r); }
static IHTMLTableRow InternalConstructor(params INode[] e) { IHTMLTableRow n = new IHTMLTableRow(); n.appendChild(e); return(n); }
static IHTMLTableRow InternalConstructor(params INode[] e) { IHTMLTableRow n = new IHTMLTableRow(); n.appendChild(e); return n; }
public IHTMLTableColumn[] AddRowAsColumns(params INode[] e) { IHTMLTableColumn[] n = new IHTMLTableColumn[e.Length]; IHTMLTableRow r = AddRow(); int i = 0; foreach (INode x in e) { IHTMLTableColumn c = new IHTMLTableColumn(); n[i++] = c; if (x != null) { c.appendChild(x); } r.appendChild(c); } return(n); }