Udostępnij za pośrednictwem


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

Definicja

Pobiera wartość pola jako tablicę char .

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

Parametry

ordinal
Int32

Porządkowa pola.

dataIndex
Int64

Indeks, w którym należy rozpocząć kopiowanie danych.

buffer
Char[]

Bufor docelowy, w którym są kopiowane dane.

bufferIndex
Int32

Indeks w buforze docelowym, w którym rozpocznie się kopiowanie.

length
Int32

Liczba znaków do skopiowania.

Zwraca

Liczba skopiowanych znaków.

Implementuje

Dotyczy