共用方式為


GetValues 方法

Gets an array of values for all of the columns in the current row.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function GetValues ( _
    values As Object() _
) As Integer
'用途
Dim instance As AdomdDataReader
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 objects into which to copy the column values.

傳回值

型別:System. . :: . .Int32
An Integer that contains the number of instances copied into the array of Object objects.

實作

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