DbUpdatableDataRecord.GetChars Method (Int32, Int64, Char[], Int32, Int32)

.NET Framework (current version)
 

Retrieves the field value as a char array.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public override long GetChars(
	int ordinal,
	long dataIndex,
	char[] buffer,
	int bufferIndex,
	int length
)

Parameters

ordinal
Type: System.Int32

The ordinal of the field.

dataIndex
Type: System.Int64

The index at which to start copying data.

buffer
Type: System.Char[]

The destination buffer where data is copied.

bufferIndex
Type: System.Int32

The index in the destination buffer where copying will begin.

length
Type: System.Int32

The number of characters to copy.

Return Value

Type: System.Int64

The number of characters copied.

.NET Framework
Available since 4.0
Return to top
Show: