DbDataRecord.GetChars(Int32, Int64, Char[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value of the specified column as a character array.
public:
abstract long GetChars(int i, long dataIndex, cli::array <char> ^ buffer, int bufferIndex, int length);
public:
virtual long GetChars(int i, long dataIndex, cli::array <char> ^ buffer, int bufferIndex, int length);
public abstract long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length);
public abstract long GetChars (int i, long dataIndex, char[]? buffer, int bufferIndex, int length);
public long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length);
abstract member GetChars : int * int64 * char[] * int * int -> int64
abstract member GetChars : int * int64 * char[] * int * int -> int64
override this.GetChars : int * int64 * char[] * int * int -> int64
Public MustOverride Function GetChars (i As Integer, dataIndex As Long, buffer As Char(), bufferIndex As Integer, length As Integer) As Long
Public Function GetChars (i As Integer, dataIndex As Long, buffer As Char(), bufferIndex As Integer, length As Integer) As Long
Parameters
- i
- Int32
Column ordinal.
- dataIndex
- Int64
Buffer to copy data into.
- buffer
- Char[]
Maximum length to copy into the buffer.
- bufferIndex
- Int32
Point to start from within the buffer.
- length
- Int32
Point to start from within the source data.
Returns
The value of the specified column.
Implements
Remarks
No conversions are performed; therefore the data retrieved must already be a character array.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.