DbDataRecord::GetChars Method (Int32, Int64, array<Char>^, Int32, Int32)
.NET Framework (current version)
Returns the value of the specified column as a character array.
Assembly: System.Data (in System.Data.dll)
public: virtual long long GetChars( int i, long long dataIndex, array<wchar_t>^ buffer, int bufferIndex, int length ) abstract
Parameters
- i
-
Type:
System::Int32
Column ordinal.
- dataIndex
-
Type:
System::Int64
Buffer to copy data into.
- buffer
-
Type:
array<System::Char>^
Maximum length to copy into the buffer.
- bufferIndex
-
Type:
System::Int32
Point to start from within the buffer.
- length
-
Type:
System::Int32
Point to start from within the source data.
No conversions are performed; therefore the data retrieved must already be a character array.
.NET Framework
Available since 1.1
Available since 1.1
Show: