GetValues 方法

Populates an array of objects with the attribute column values of the current row. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Function GetValues ( _
    values As Object() _
) As Integer
用法
Dim instance As DataProvider
Dim values As Object()
Dim returnValue As Integer

returnValue = instance.GetValues(values)
public int GetValues(
    Object[] values
)
public:
virtual int GetValues(
    array<Object^>^ values
) sealed
abstract GetValues : 
        values:Object[] -> int 
override GetValues : 
        values:Object[] -> int 
public final function GetValues(
    values : Object[]
) : int

参数

  • values
    类型:array<System. . :: . .Object> [] () [] []
    An array of Object into which to copy the attribute columns.

返回值

类型:System. . :: . .Int32
The number of instances of Object in the array.

实现

IDataRecord. . :: . .GetValues(array<Object> [] () [] [])