HtmlDocumentAssignAttributes Method

Assign attributes found in the HTML Element to Name / Value pairs in the supplied Attribute Collection.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static void AssignAttributes(
	string value,
	HtmlAttributeCollection attributes,
	bool preserveSpace
)

Parameters

value  String
An HTML Element with opening and closing braces.
attributes  HtmlAttributeCollection
Collection designated to receive all attribute values found.
preserveSpace  Boolean
Value indicating whether to preserve all space in the document.

See Also