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的 ChtmlTextWriter 对象的已识别属性Hashtable集合中删除。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈