DocumentsProvider.QueryDocument(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.
Return metadata for the single requested document.
[Android.Runtime.Register("queryDocument", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;", "GetQueryDocument_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public abstract Android.Database.ICursor? QueryDocument (string? documentId, string[]? projection);
[<Android.Runtime.Register("queryDocument", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;", "GetQueryDocument_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member QueryDocument : string * string[] -> Android.Database.ICursor
Parameters
- documentId
- String
the document to return.
- projection
- String[]
list of Document
columns to put into the
cursor. If null
all supported columns should be
included.
Returns
- Attributes
Exceptions
Remarks
Return metadata for the single requested document. You should avoid making network requests to keep this request fast.
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.