Compartir a través de


RestrictChildrenAttribute Clase

Definición

Restringe los elementos secundarios del ITagHelperelemento .

public ref class RestrictChildrenAttribute : Attribute
public ref class RestrictChildrenAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public class RestrictChildrenAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class RestrictChildrenAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type RestrictChildrenAttribute = class
    inherit Attribute
Public Class RestrictChildrenAttribute
Inherits Attribute
Public NotInheritable Class RestrictChildrenAttribute
Inherits Attribute
Herencia
RestrictChildrenAttribute
Atributos

Comentarios

La combinación de este atributo con un HtmlTargetElementAttribute que especifica su como WithoutEndTagTagStructure dará como resultado que este atributo se omita.

Constructores

RestrictChildrenAttribute(String, String[])

Crea una nueva instancia de la clase RestrictChildrenAttribute.

Propiedades

ChildTags

Obtiene los nombres de los elementos permitidos como elementos secundarios.

Se aplica a