TryParse(ref StringSlice, out HtmlAttributes?) Method

Definition

Assembly Markdig.dll

Tries to extra from the current position of a slice an HTML attributes

public static bool TryParse(ref StringSlice slice, [NotNullWhen(true)] scoped out HtmlAttributes? attributes)

Parameters

slice
StringSlice

The slice to parse.

attributes
HtmlAttributes

The output attributes or null if not found or invalid

Returns

Boolean
true if parsing the HTML attributes was successful