XhtmlTextWriter.RemoveRecognizedAttribute(String, String) 方法

定義

從項目的 ElementSpecificAttributes 集合中移除屬性。

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

要從其中移除屬性的 XHTML 項目。

attributeName
String

要從指定之 XHTML 項目中移除的屬性。

適用於

另請參閱