Sdílet prostřednictvím


ContentValues Constructors

Definition

Overloads

ContentValues()

Creates an empty set of values using the default initial size

ContentValues(ContentValues)

Creates a set of values copied from the given set

ContentValues(Int32)

Creates an empty set of values using the given initial size

ContentValues()

Creates an empty set of values using the default initial size

[Android.Runtime.Register(".ctor", "()V", "")]
public ContentValues ();
Attributes

Remarks

Creates an empty set of values using the default initial size

Java documentation for android.content.ContentValues.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

ContentValues(ContentValues)

Creates a set of values copied from the given set

[Android.Runtime.Register(".ctor", "(Landroid/content/ContentValues;)V", "")]
public ContentValues (Android.Content.ContentValues? from);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ContentValues;)V", "")>]
new Android.Content.ContentValues : Android.Content.ContentValues -> Android.Content.ContentValues

Parameters

from
ContentValues

the values to copy

Attributes

Remarks

Creates a set of values copied from the given set

Java documentation for android.content.ContentValues.ContentValues(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

ContentValues(Int32)

Creates an empty set of values using the given initial size

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ContentValues (int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.ContentValues : int -> Android.Content.ContentValues

Parameters

size
Int32

the initial size of the set of values

Attributes

Remarks

Creates an empty set of values using the given initial size

Java documentation for android.content.ContentValues.ContentValues(int).

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