HtmlUtilGetHtmlAttributes Method
Parse and return a collection of attribute names and values from the
provided element text.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static HtmlAttributeCollection GetHtmlAttributes(
string element,
bool preserveSpace
)
Public Shared Function GetHtmlAttributes (
element As String,
preserveSpace As Boolean
) As HtmlAttributeCollection
No code example is currently available or this language may not be supported.
- element String
-
HTML element content with opening and closing braces.
- preserveSpace Boolean
-
Value indicating whether to preserve all whitespace in the document.
HtmlAttributeCollection
Collection of attribute names and values for the specified element.