GetChars Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
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.8.4.0

Syntax

C#
public override long GetChars(
	int i,
	long fieldoffset,
	char[] buffer,
	int bufferoffset,
	int length
)
Visual Basic
Public Overrides Function GetChars ( _
	i As Integer, _
	fieldoffset As Long, _
	buffer As Char(), _
	bufferoffset As Integer, _
	length As Integer _
) As Long
Visual C++
public:
virtual long long GetChars(
	int i, 
	long long fieldoffset, 
	array<wchar_t>^ buffer, 
	int bufferoffset, 
	int length
) override

Parameters

i
Type: System..::..Int32
fieldoffset
Type: System..::..Int64
buffer
Type: array<System..::..Char>[]()[][]
bufferoffset
Type: System..::..Int32
length
Type: System..::..Int32

Return Value

Implements

IDataRecord..::..GetChars(Int32, Int64, array<Char>[]()[][], Int32, Int32)
IDataRecord..::..GetChars(Int32, Int64, array<Char>[]()[][], Int32, Int32)

See Also