共用方式為


IDTSBuffer100.GetDataByRef(Int32, Int32) Method

Definition

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::DTP_VARIANT GetDataByRef(int hRow, int hCol);
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTP_VARIANT GetDataByRef (int hRow, int hCol);
abstract member GetDataByRef : int * int -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTP_VARIANT
Public Function GetDataByRef (hRow As Integer, hCol As Integer) As DTP_VARIANT

Parameters

hRow
Int32
hCol
Int32

Returns

The DTP_VARIANT that contains the data in the column.

Remarks

This method returns a pointer to the data stored in the column specified by the hCol parameter. This pointer is used to directly modify the data in the column specified by hCol instead of calling the GetData method, modifying the data, and then calling SetData.

Applies to