CopyTo(HtmlAttributes, Boolean, Boolean) Method

Definition

Assembly Markdig.dll

Copies/merge the values from this instance to the specified HtmlAttributes instance.

public void CopyTo(HtmlAttributes htmlAttributes, bool mergeIdAndProperties = false, bool shared = true)

Parameters

htmlAttributes
HtmlAttributes

The HTML attributes.

mergeIdAndProperties
Boolean

If set to true it will merge properties to the target htmlAttributes. Default is false

shared
Boolean

If set to true it will try to share Classes and Properties if destination don't have them, otherwise it will make a copy. Default is true