语言

UriMatcher 构造函数

定义

重载

名称 说明
UriMatcher(Int32)

创建 URI 树的根节点。

UriMatcher(IntPtr, JniHandleOwnership)

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

UriMatcher(Int32)

创建 URI 树的根节点。

[Android.Runtime.Register(".ctor", "(I)V", "")]
public UriMatcher(int code);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.UriMatcher : int -> Android.Content.UriMatcher

参数

code
Int32

要匹配根 URI 的代码

特性

注解

创建 URI 树的根节点。

Java文档android.content.UriMatcher.UriMatcher(int)。

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

适用于

UriMatcher(IntPtr, JniHandleOwnership)

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

protected UriMatcher(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.UriMatcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.UriMatcher

参数

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于