HtmlAttributeItemGetStyles Method

Return the list of Name: Value styles as separate entries from the provided style-type attribute.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlAttributeCollection GetStyles(
	HtmlAttributeItem value
)

Parameters

value  HtmlAttributeItem
Attribute containing Style entries.

Return Value

HtmlAttributeCollection
Enumerated Collection of Styles.

Remarks

The syntax of the Style collection is Name1: Value1; NameN: ValueN[;]

See Also