DbUpdatableDataRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) Method
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.
Retrieves the field value as a byte
array.
public:
override long GetBytes(int ordinal, long dataIndex, cli::array <System::Byte> ^ buffer, int bufferIndex, int length);
public override long GetBytes (int ordinal, long dataIndex, byte[] buffer, int bufferIndex, int length);
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Overrides Function GetBytes (ordinal As Integer, dataIndex As Long, buffer As Byte(), bufferIndex As Integer, length As Integer) As Long
- ordinal
- Int32
The ordinal of the field.
- dataIndex
- Int64
The index at which to start copying data.
- buffer
- Byte[]
The destination buffer where data is copied.
- bufferIndex
- Int32
The index in the destination buffer where copying will begin.
- length
- Int32
The number of bytes to copy.
The number of bytes copied.
Produkt | Versjoner |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: