Sisk

Method

HtmlElementExtensions.WithName<THtmlElement>

Namespace
TinyComponents
Assembly
TinyComponents.dll

WithName<THtmlElement>(THtmlElement, string) #

Specifies the HTML element name of this HtmlElement.

C#
public static THtmlElement WithName<THtmlElement>(this THtmlElement node, string name) where THtmlElement : HtmlElement

Parameters #

node THtmlElement

The current HtmlElement.

name string

The element name.

Returns #

THtmlElement

The self HtmlElement object for fluent chaining.

Type Parameters #

THtmlElement

The object type which implements HtmlElement.

Type to search the documentation and the API reference.