Megosztás a következőn keresztül:


DocumentsContract.BuildDocumentUri(String, String) Method

Definition

Build URI representing the target Document#COLUMN_DOCUMENT_ID in a document provider.

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

Parameters

authority
String
documentId
String

Returns

Uri
Attributes

Remarks

Build URI representing the target Document#COLUMN_DOCUMENT_ID in a document provider. When queried, a provider will return a single row with columns defined by Document.

Java documentation for android.provider.DocumentsContract.buildDocumentUri(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

  • <xref:Android.Provider.DocumentsProvider.QueryDocument(System.String%2c+System.String%5b%5d)>
  • GetDocumentId(Uri)