TagHelperAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
HTML 標籤協助程式屬性。
public ref class TagHelperAttribute : Microsoft::AspNetCore::Html::IHtmlContentContainer
public class TagHelperAttribute : Microsoft.AspNetCore.Html.IHtmlContentContainer
type TagHelperAttribute = class
interface IHtmlContentContainer
interface IHtmlContent
type TagHelperAttribute = class
interface IHtmlContent
interface IHtmlContentContainer
Public Class TagHelperAttribute
Implements IHtmlContentContainer
- 繼承
-
TagHelperAttribute
- 實作
建構函式
TagHelperAttribute(String) |
使用指定的 |
TagHelperAttribute(String, Object) |
使用指定的 |
TagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
使用指定的 |
屬性
Name |
取得此屬性的名稱。 |
Value |
取得屬性值。 |
ValueStyle |
取得屬性的值樣式。 |
方法
CopyTo(IHtmlContentBuilder) |
將這個 IHtmlContentContainer |
Equals(Object) |
HTML 標籤協助程式屬性。 |
Equals(TagHelperAttribute) |
HTML 標籤協助程式屬性。 |
GetHashCode() |
HTML 標籤協助程式屬性。 |
MoveTo(IHtmlContentBuilder) |
將這個 IHtmlContentContainer 呼叫 之後 MoveTo(IHtmlContentBuilder) ,此 IHtmlContentContainer 實例應該會保持空白狀態。 |
WriteTo(TextWriter, HtmlEncoder) |
使用指定的 來撰寫內容,方法是將它編碼為指定的 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應