GetChars Method (Int32, Int64, Char[], Int32, Int32) (ITypedGetters)
.NET Framework 3.0
Gets the data, for a parameter or column, as the specified type. No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll. This class is intended for use by SQL Server. For other databases, use the hosting mechanism provided by that database.
Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in System.Data.dll)
Parameters
| Parameter | Description |
|---|---|
| ordinal | The zero-based column or parameter ordinal. |
| fieldOffset | The index within the column or parameter from which to begin the read operation. |
| buffer | The buffer into which to read the stream of bytes. |
| bufferOffset | The index for the buffer to begin the write operation. |
| length | The maximum length to copy into the buffer. |