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
- Type: array<System::Byte>
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.