27 references to InsertAdjacentElement
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
499
return
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement);
System.Windows.Forms.Tests (26)
System\Windows\Forms\HtmlElementTests.cs (26)
1999
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement1);
2005
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement2);
2012
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement3);
2037
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement1);
2045
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement2);
2054
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeBegin, newElement3);
2081
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement1);
2087
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement2);
2094
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement3);
2119
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement1);
2127
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement2);
2136
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, newElement3);
2163
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement1);
2167
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement2);
2174
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement3);
2199
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement1);
2207
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement2);
2216
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterBegin, newElement3);
2243
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement1);
2248
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement2);
2254
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement3);
2278
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement1);
2286
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement2);
2295
element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.AfterEnd, newElement3);
2318
Assert.Throws<NullReferenceException>(() => element.
InsertAdjacentElement
(HtmlElementInsertionOrientation.BeforeEnd, null));
2335
Assert.Throws<ArgumentException>(() => element.
InsertAdjacentElement
(orient, newElement));