語言

AttributeListImpl.RemoveAttribute(String) 方法

定義

警告

deprecated

從清單中移除一個屬性。

[Android.Runtime.Register("removeAttribute", "(Ljava/lang/String;)V", "GetRemoveAttribute_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void RemoveAttribute(string? name);
[<Android.Runtime.Register("removeAttribute", "(Ljava/lang/String;)V", "GetRemoveAttribute_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveAttribute : string -> unit
override this.RemoveAttribute : string -> unit

參數

name
String

屬性名稱。

屬性

備註

從清單中移除一個屬性。

SAX 應用程式撰寫者可以使用此方法將屬性從 AttributeList 中過濾出。 請注意,呼叫此方法會改變屬性清單的長度及部分屬性索引。

如果請求的屬性不在清單中,這就是 no-op。

的 org.xml.sax.helpers.AttributeListImpl.removeAttribute(java.lang.String)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱

  • <xref:Org.Xml.Sax.Helpers.AttributeListImpl.AddAttribute(System.String%2c+System.String%2c+System.String)>