TagStructure Enum¶
The structure the element should be written in.
- Namespace
Microsoft.AspNetCore.Razor.TagHelpers
- Assemblies
- Microsoft.AspNetCore.Razor
Fields¶
-
NormalOrSelfClosing
()¶ Element can be written as <my-tag-helper></my-tag-helper> or <my-tag-helper />.
Return type: Microsoft.AspNetCore.Razor.TagHelpers.TagStructure NormalOrSelfClosing = 1
-
Unspecified
()¶ If no other tag helper applies to the same element and specifies a
Microsoft.AspNetCore.Razor.TagHelpers.TagStructure
,Microsoft.AspNetCore.Razor.TagHelpers.TagStructure.NormalOrSelfClosing
will be used.Return type: Microsoft.AspNetCore.Razor.TagHelpers.TagStructure Unspecified = 0
-
WithoutEndTag
()¶ Element can be written as <my-tag-helper> or <my-tag-helper />.
Return type: Microsoft.AspNetCore.Razor.TagHelpers.TagStructure WithoutEndTag = 2
-