语言

AttributesImpl 构造函数

定义

重载

名称 说明
AttributesImpl()

构造一个新的空 AttributesImpl 对象。

AttributesImpl(IAttributes)

复制现有的 Attributes 对象。

AttributesImpl(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

AttributesImpl()

构造一个新的空 AttributesImpl 对象。

[Android.Runtime.Register(".ctor", "()V", "")]
public AttributesImpl();
特性

注解

构造一个新的空 AttributesImpl 对象。

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

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

适用于

AttributesImpl(IAttributes)

复制现有的 Attributes 对象。

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")]
public AttributesImpl(Org.Xml.Sax.IAttributes? atts);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")>]
new Org.Xml.Sax.Helpers.AttributesImpl : Org.Xml.Sax.IAttributes -> Org.Xml.Sax.Helpers.AttributesImpl

参数

atts
IAttributes

现有的 Attributes 对象。

特性

注解

复制现有的 Attributes 对象。

此构造函数在事件中 org.xml.sax.ContentHandler#startElement startElement 特别有用。

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

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

适用于

AttributesImpl(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected AttributesImpl(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.Helpers.AttributesImpl : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.Helpers.AttributesImpl

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于