HtmlNodeItemGetStyle Method

Return the value of the specified style in the provided node.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static string GetStyle(
	HtmlNodeItem node,
	string styleName
)

Parameters

node  HtmlNodeItem
Reference to the node to inspect.
styleName  String
Name of the style property to return.

Return Value

String
Value of the specified style property, if found. Otherwise, an empty string.

See Also