语言

AttributesImpl.SetAttributes(IAttributes) 方法

定义

复制整个 Attributes 对象。

[Android.Runtime.Register("setAttributes", "(Lorg/xml/sax/Attributes;)V", "GetSetAttributes_Lorg_xml_sax_Attributes_Handler")]
public virtual void SetAttributes(Org.Xml.Sax.IAttributes? atts);
[<Android.Runtime.Register("setAttributes", "(Lorg/xml/sax/Attributes;)V", "GetSetAttributes_Lorg_xml_sax_Attributes_Handler")>]
abstract member SetAttributes : Org.Xml.Sax.IAttributes -> unit
override this.SetAttributes : Org.Xml.Sax.IAttributes -> unit

参数

atts
IAttributes

要复制的属性。

特性

注解

复制整个 Attributes 对象。

重用现有对象(而不是不断分配新对象)可能更有效。

Java文档org.xml.sax.helpers.AttributesImpl.setAttributes(org.xml.sax.Attributes)。

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

适用于