HtmlTargetElementAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
ITagHelper提供 的目標。
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
- 繼承
-
HtmlTargetElementAttribute
- 屬性
建構函式
HtmlTargetElementAttribute() |
具現化 類別的新實例,這個實例 HtmlTargetElementAttribute 會以所有具有必要 Attributes 的 HTML 專案為目標。 |
HtmlTargetElementAttribute(String) |
使用指定的 |
欄位
ElementCatchAllTarget |
以所有 HTML 專案為目標的標籤協助程式值。 |
屬性
Attributes |
以逗號分隔 String 的屬性選取器,HTML 元素必須符合才能 ITagHelper 執行。
|
ParentTag |
直接父代的必要 HTML 專案名稱。 值 |
Tag |
目標的 HTML 標籤 ITagHelper 。 值 |
TagStructure |
預期的標記結構。 預設值為 Unspecified。 |