AttributeListImpl.RemoveAttribute(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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。
Java文档org.xml.sax.helpers.AttributeListImpl.removeAttribute(java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
另请参阅
- <xref:Org.Xml.Sax.Helpers.AttributeListImpl.AddAttribute(System.String%2c+System.String%2c+System.String)>