Redigera

Dela via


DbUpdatableDataRecord.GetChars(Int32, Int64, Char[], Int32, Int32) Method

Definition

Retrieves the field value as a char array.

public:
 override long GetChars(int ordinal, long dataIndex, cli::array <char> ^ buffer, int bufferIndex, int length);
public override long GetChars (int ordinal, long dataIndex, char[] buffer, int bufferIndex, int length);
override this.GetChars : int * int64 * char[] * int * int -> int64
Public Overrides Function GetChars (ordinal As Integer, dataIndex As Long, buffer As Char(), bufferIndex As Integer, length As Integer) As Long

Parameters

ordinal
Int32

The ordinal of the field.

dataIndex
Int64

The index at which to start copying data.

buffer
Char[]

The destination buffer where data is copied.

bufferIndex
Int32

The index in the destination buffer where copying will begin.

length
Int32

The number of characters to copy.

Returns

The number of characters copied.

Implements

Applies to