6 references to SetAttribute
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
257
set =>
SetAttribute
("Name", value);
System.Windows.Forms.Tests (5)
System\Windows\Forms\HtmlElementTests.cs (5)
2448
element.
SetAttribute
("customAttribute", value);
2452
element.
SetAttribute
("customAttribute", value);
2456
element.
SetAttribute
("customAttribute", "newValue");
2472
Assert.Throws<ArgumentException>(() => element.
SetAttribute
(null, "value"));
2487
COMException ex = Assert.Throws<COMException>(() => element.
SetAttribute
(string.Empty, "value"));