语言

Locator2Impl 构造函数

定义

重载

名称 说明
Locator2Impl()

构造一个新的空定位符 2Impl 对象。

Locator2Impl(ILocator)

复制现有的定位符或定位符 2 对象。

Locator2Impl(IntPtr, JniHandleOwnership)

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

Locator2Impl()

构造一个新的空定位符 2Impl 对象。

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

注解

构造一个新的空定位符 2Impl 对象。 这通常不会很有用,因为此类的主要用途是创建现有定位符的快照。

Java文档org.xml.sax.ext.Locator2Impl.Locator2Impl()。

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

适用于

Locator2Impl(ILocator)

复制现有的定位符或定位符 2 对象。

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Locator;)V", "")]
public Locator2Impl(Org.Xml.Sax.ILocator? locator);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Locator;)V", "")>]
new Org.Xml.Sax.Ext.Locator2Impl : Org.Xml.Sax.ILocator -> Org.Xml.Sax.Ext.Locator2Impl

参数

locator
ILocator

现有的定位符对象。

特性

注解

复制现有的定位符或定位符 2 对象。 如果对象实现 Locator2,则会复制 em>encoding/em> 和 <em>version</em>字符串的值<,否则它们将设置为 <em>null</em><。

Java文档org.xml.sax.ext.Locator2Impl.Locator2Impl(org.xml.sax.Locator)。

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

适用于

Locator2Impl(IntPtr, JniHandleOwnership)

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

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

参数

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于