HtmlAttributeCollectionSetStyle(HtmlNodeItem, String, String) Method
Set the value of the specified style in the provided node.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static void SetStyle(
HtmlNodeItem node,
string styleName,
string styleValue
)
Public Shared Sub SetStyle (
node As HtmlNodeItem,
styleName As String,
styleValue As String
)
No code example is currently available or this language may not be supported.
Parameters
- node HtmlNodeItem
-
Reference to the node upon which the style will be set.
- styleName String
-
Name of the style to set.
- styleValue String
-
Value of the style.