SqlBytes::Write Method (Int64, array<Byte>^, Int32, Int32)
Copies bytes from the passed-in buffer to this SqlBytes instance.
Assembly: System.Data (in System.Data.dll)
public: void Write( long long offset, array<unsigned char>^ buffer, int offsetInBuffer, int count )
- Type: System::Int64
The byte array buffer to copy into.
The value of offsetInBuffer must be less than or equal to Length. An exception is thrown otherwise. Only a value of 0 can be specified when writing to a null value instance.
If an attempt is made to write beyond MaxLength, an exception is thrown.
Available since 2.0