TagHelperContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含與 執行 ITagHelper 相關的資訊。
public ref class TagHelperContext
public class TagHelperContext
type TagHelperContext = class
Public Class TagHelperContext
- 繼承
-
TagHelperContext
建構函式
屬性
| AllAttributes |
與目前 HTML 專案相關聯的每個屬性。 |
| Items |
取得用來與其他 ITagHelper s 通訊的專案集合。 |
| TagName |
已剖析的 HTML 標籤名稱。 |
| UniqueId |
此內容所針對之 HTML 元素的唯一識別碼。 |
方法
| Reinitialize(IDictionary<Object,Object>, String) |
清除 , TagHelperContext 並使用提供的值更新其狀態。 |
| Reinitialize(String, IDictionary<Object,Object>, String) |
清除 , TagHelperContext 並使用提供的值更新其狀態。 |