HtmlTargetElementAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
ITagHelperUdostępnia element docelowy .
public ref class HtmlTargetElementAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class HtmlTargetElementAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type HtmlTargetElementAttribute = class
inherit Attribute
Public NotInheritable Class HtmlTargetElementAttribute
Inherits Attribute
- Dziedziczenie
-
HtmlTargetElementAttribute
- Atrybuty
Konstruktory
HtmlTargetElementAttribute() |
Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute , które jest przeznaczone dla wszystkich elementów HTML z wymaganym elementem Attributes. |
HtmlTargetElementAttribute(String) |
Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute z daną |
Pola
ElementCatchAllTarget |
Wartość pomocnika tagów, która jest przeznaczona dla wszystkich elementów HTML. |
Właściwości
Attributes |
Rozdzielane String przecinkami selektory atrybutów, które element HTML musi być zgodny z elementem ITagHelper do uruchomienia. |
ParentTag |
Wymagana nazwa elementu HTML elementu nadrzędnego bezpośredniego. Wartość wskazuje, że dowolna |
Tag |
Tag HTML elementów ITagHelper docelowych. Wartość |
TagStructure |
Oczekiwana struktura tagów. Wartość domyślna to Unspecified. |
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla