DocumentsContract.BuildDocumentUri(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
.
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)