ChtmlTextWriter.RemoveRecognizedAttribute(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除 ChtmlTextWriter 物件之 cHTML 項目的屬性。
public:
virtual void RemoveRecognizedAttribute(System::String ^ elementName, System::String ^ attributeName);
public virtual void RemoveRecognizedAttribute (string elementName, string attributeName);
abstract member RemoveRecognizedAttribute : string * string -> unit
override this.RemoveRecognizedAttribute : string * string -> unit
Public Overridable Sub RemoveRecognizedAttribute (elementName As String, attributeName As String)
參數
- elementName
- String
要移除屬性的 cHTML 項目。
- attributeName
- String
要從 elementName
移除的屬性。
備註
方法 RemoveRecognizedAttribute 會從 cHTML 元素中移除屬性。 辨識的屬性會從 屬性所參考 RecognizedAttributes 物件的辨識屬性 Hashtable 集合 ChtmlTextWriter 中移除。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應