Share via


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

Definition

Retrieves the field value as a char array.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes")]
public override long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length);
override this.GetChars : int * int64 * char[] * int * int -> int64
Public Overrides Function GetChars (i As Integer, dataIndex As Long, buffer As Char(), bufferIndex As Integer, length As Integer) As Long

Parameters

i
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

Attributes

Applies to