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