TagHelperDescriptor.TagStructure Propiedad

Definición

La estructura de etiqueta esperada.

public:
 property Microsoft::AspNetCore::Razor::TagHelpers::TagStructure TagStructure { Microsoft::AspNetCore::Razor::TagHelpers::TagStructure get(); void set(Microsoft::AspNetCore::Razor::TagHelpers::TagStructure value); };
public Microsoft.AspNetCore.Razor.TagHelpers.TagStructure TagStructure { get; set; }
member this.TagStructure : Microsoft.AspNetCore.Razor.TagHelpers.TagStructure with get, set
Public Property TagStructure As TagStructure

Valor de propiedad

TagStructure

Comentarios

Si Unspecified y no se aplican otras aplicaciones auxiliares de etiquetas al mismo elemento TagStructure , NormalOrSelfClosing se usa su comportamiento:

<my-tag-helper></my-tag-helper>
<!-- OR -->
<my-tag-helper />

De lo contrario, si otra aplicación auxiliar de etiquetas que se aplica al mismo elemento especifica su comportamiento, se utiliza ese comportamiento.

Si los WithoutEndTag elementos HTML se pueden escribir en los siguientes formatos:

<my-tag-helper>
<!-- OR -->
<my-tag-helper />

Se aplica a