HtmlAttributeCollectionGetStyle(HtmlNodeItem, String) Method
Return the value of the specified style in the provided node.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static string GetStyle(
HtmlNodeItem node,
string styleName
)
Public Shared Function GetStyle (
node As HtmlNodeItem,
styleName As String
) As String
No code example is currently available or this language may not be supported.
- node HtmlNodeItem
-
Reference to the node within which to find a style attribute.
- styleName String
-
Name of the style property to return.
String
Value of the specified style property, if found. Otherwise, an
empty string.