TagBuilder.RenderSelfClosingTag Method

Definition

Returns an IHtmlContent that renders the self-closing tag.

public:
 Microsoft::AspNetCore::Html::IHtmlContent ^ RenderSelfClosingTag();
public Microsoft.AspNetCore.Html.IHtmlContent RenderSelfClosingTag ();
member this.RenderSelfClosingTag : unit -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function RenderSelfClosingTag () As IHtmlContent

Returns

An IHtmlContent that renders the self-closing tag.

Applies to