语言

PropertyPath 构造函数

定义

重载

名称 说明
PropertyPath(IList<PropertyPath.PathSegment>)

直接接受路径列表的构造函数

PropertyPath(String)

分析表示要填充 PathSegments 列表的路径的字符串的构造函数

PropertyPath(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

PropertyPath(IList<PropertyPath.PathSegment>)

直接接受路径列表的构造函数

[Android.Runtime.Register(".ctor", "(Ljava/util/List;)V", "", ApiSince=34)]
public PropertyPath(System.Collections.Generic.IList<Android.App.AppSearch.PropertyPath.PathSegment> pathList);
[<Android.Runtime.Register(".ctor", "(Ljava/util/List;)V", "", ApiSince=34)>]
new Android.App.AppSearch.PropertyPath : System.Collections.Generic.IList<Android.App.AppSearch.PropertyPath.PathSegment> -> Android.App.AppSearch.PropertyPath

参数

pathList
IList<PropertyPath.PathSegment>

PathSegments 的列表

特性

注解

直接接受路径列表的构造函数

Java文档android.app.appsearch.PropertyPath.PropertyPath(java.util.List<android.app.appsearch.PropertyPath.PathSegment>)。

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

适用于

PropertyPath(String)

分析表示要填充 PathSegments 列表的路径的字符串的构造函数

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public PropertyPath(string path);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.App.AppSearch.PropertyPath : string -> Android.App.AppSearch.PropertyPath

参数

path
String

要验证并解析为 PathSegments 的字符串

特性

注解

分析表示要填充 PathSegments 列表的路径的字符串的构造函数

Java文档android.app.appsearch.PropertyPath.PropertyPath(java.lang.String)。

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

适用于

PropertyPath(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

protected PropertyPath(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.AppSearch.PropertyPath : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.AppSearch.PropertyPath

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

运行时调用此构造函数来创建现有Java对象的托管表示形式。

适用于