语言

ContentValues 构造函数

定义

重载

名称 说明
ContentValues()

使用默认的初始大小创建一组空值

ContentValues(ContentValues)

创建从给定集复制的一组值

ContentValues(Int32)

使用给定的初始大小创建空值集

ContentValues()

使用默认的初始大小创建一组空值

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

注解

使用默认的初始大小创建一组空值

Java文档android.content.ContentValues.ContentValues()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ContentValues(ContentValues)

创建从给定集复制的一组值

[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

参数

from
ContentValues

要复制的值

特性

注解

创建从给定集复制的一组值

Java文档android.content.ContentValues.ContentValues(android.content.ContentValues)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ContentValues(Int32)

使用给定的初始大小创建空值集

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

参数

size
Int32

值集的初始大小

特性

注解

使用给定的初始大小创建空值集

Java文档android.content.ContentValues.ContentValues(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于