RestrictChildrenAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Omezuje podřízené položky elementu.ITagHelper
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
- Dědičnost
-
RestrictChildrenAttribute
- Atributy
Poznámky
Kombinace tohoto atributu s atributem HtmlTargetElementAttribute , který určuje jeho TagStructure výsledek WithoutEndTag v důsledku ignorování tohoto atributu.
Konstruktory
| RestrictChildrenAttribute(String, String[]) |
Vytvoří instanci nové instance RestrictChildrenAttribute třídy. |
Vlastnosti
| ChildTags |
Získejte názvy prvků povolených jako podřízené položky. |