Android.Provider.DocumentsContract.RenameDocument Method
Change the display name of an existing document.

Syntax

[Android.Runtime.Register("renameDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri RenameDocument (Android.Content.ContentResolver resolver, Android.Net.Uri documentUri, string displayName)

Parameters

resolver
Documentation for this section has not yet been entered.
documentUri
document with NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#FLAG_SUPPORTS_RENAME
displayName
updated name for document

Returns

Documentation for this section has not yet been entered.

Remarks

Change the display name of an existing document.

If the underlying provider needs to create a new NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID to represent the updated display name, that new document is returned and the original document is no longer valid. Otherwise, the original document is returned.

[Android Documentation]

Requirements

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