语言

AttributeListImpl.Clear 方法

定义

注意

deprecated

清除属性列表。

[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
[System.Obsolete("deprecated")]
public virtual void Clear();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
特性

注解

清除属性列表。

SAX 分析器编写器可以使用此方法重置 DocumentHandler.startElement 事件之间的属性列表。 通常,重用同一 AttributeListImpl 对象而不是每次分配一个新对象是有意义的。

Java文档org.xml.sax.helpers.AttributeListImpl.clear()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅

  • <xref:Org.Xml.Sax.IDocumentHandler.StartElement(System.String%2c+Org.Xml.Sax.IAttributeList)>