Android.Provider.DocumentsContract.CreateDocument Method
Create a new document with given MIME type and display name.

Syntax

[Android.Runtime.Register("createDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri CreateDocument (Android.Content.ContentResolver resolver, Android.Net.Uri parentDocumentUri, string mimeType, string displayName)

Parameters

resolver
Documentation for this section has not yet been entered.
parentDocumentUri
directory with NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#FLAG_DIR_SUPPORTS_CREATE
mimeType
MIME type of new document
displayName
name of new document

Returns

Documentation for this section has not yet been entered.

Remarks

Create a new document with given MIME type and display name.

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0