共用方式為


DataProvider.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[])

請參閱

參考

DataProvider 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間