MySqlDataReader.GetChars Method

MySQL Connector/Net

MySqlDataReaderGetChars Method
Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public override long GetChars(
	int i,
	long fieldoffset,
	char[] buffer,
	int bufferoffset,
	int length
)
Public Overrides Function GetChars ( 
	i As Integer,
	fieldoffset As Long,
	buffer As Char(),
	bufferoffset As Integer,
	length As Integer
) As Long
public:
virtual long long GetChars(
	int i, 
	long long fieldoffset, 
	array<wchar_t>^ buffer, 
	int bufferoffset, 
	int length
) override
abstract GetChars : 
        i : int * 
        fieldoffset : int64 * 
        buffer : char[] * 
        bufferoffset : int * 
        length : int -> int64 
override GetChars : 
        i : int * 
        fieldoffset : int64 * 
        buffer : char[] * 
        bufferoffset : int * 
        length : int -> int64 

Parameters

i
Type: SystemInt32
fieldoffset
Type: SystemInt64
buffer
Type: SystemChar
bufferoffset
Type: SystemInt32
length
Type: SystemInt32

Return Value

Type: Int64

Implements

IDataRecordGetChars(Int32, Int64, Char, Int32, Int32)
IDataRecordGetChars(Int32, Int64, Char, Int32, Int32)
See Also