共用方式為


DocumentsContract.BuildSearchDocumentsUri(String, String, String) Method

Definition

Build URI representing a search for matching documents under a specific root in a document provider.

[Android.Runtime.Register("buildSearchDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildSearchDocumentsUri (string? authority, string? rootId, string? query);
[<Android.Runtime.Register("buildSearchDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member BuildSearchDocumentsUri : string * string * string -> Android.Net.Uri

Parameters

authority
String
rootId
String
query
String

Returns

Uri
Attributes

Remarks

Build URI representing a search for matching documents under a specific root in a document provider. When queried, a provider will return zero or more rows with columns defined by Document.

Java documentation for android.provider.DocumentsContract.buildSearchDocumentsUri(java.lang.String, java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also