EntityDataReader.GetValues(Object[]) 方法

定义

使用当前行的列值来填充对象数组。Populates an array of objects with the column values of the current row.

public:
 override int GetValues(cli::array <System::Object ^> ^ values);
public override int GetValues (object[] values);
override this.GetValues : obj[] -> int
Public Overrides Function GetValues (values As Object()) As Integer

参数

values
Object[]

要将属性列复制到的 Object 数组。An array of Object into which to copy the attribute columns.

返回

Int32

数组中 Object 的实例的数目。The number of instances of Object in the array.

实现

适用于