TagHelperOutput.TagName Property

Definition

The HTML element's tag name.

public:
 property System::String ^ TagName { System::String ^ get(); void set(System::String ^ value); };
public string TagName { get; set; }
member this.TagName : string with get, set
Public Property TagName As String

Property Value

String

Remarks

A whitespace or null value results in no start or end tag being rendered.

Applies to