Language

DocumentsProvider.Insert(Uri, ContentValues) Method

Definition

Implementation is provided by the parent class.

[Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "")]
public override sealed Android.Net.Uri? Insert(Android.Net.Uri? uri, Android.Content.ContentValues? values);
[<Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "")>]
override this.Insert : Android.Net.Uri * Android.Content.ContentValues -> Android.Net.Uri

Parameters

uri
Uri

Not used; this method always throws.

values
ContentValues

Not used; this method always throws.

Returns

Uri

This method does not return; it always throws UnsupportedOperationException.

Attributes

Remarks

Implementation is provided by the parent class. Throws by default, and cannot be overridden.

Java documentation for android.provider.DocumentsProvider.insert(android.net.Uri, android.content.ContentValues).

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.CreateDocument(System.String%2c+System.String%2c+System.String)>