Reads a stream of chars from the specified column offset into the buffer an array starting at the given buffer offset.
Namespace: System.Extensions.DataAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
public static long GetNullableChars(
this IDataRecord reader,
int index,
long fieldOffset,
char[] buffer,
int bufferOffset,
int length
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function GetNullableChars (
reader As IDataRecord,
index As Integer,
fieldOffset As Long,
buffer As Char(),
bufferOffset As Integer,
length As Integer
) As Long |
Visual C++ |
---|
public:
[ExtensionAttribute]
static long long GetNullableChars(
IDataRecord^ reader,
int index,
long long fieldOffset,
array<wchar_t>^ buffer,
int bufferOffset,
int length
) |
F# |
---|
static member GetNullableChars :
reader : IDataRecord *
index : int *
fieldOffset : int64 *
buffer : char[] *
bufferOffset : int *
length : int -> int64
|
Return Value
Type:
Int64The actual number of chars read.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDataRecord. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also