Copies characters from the passed-in buffer to this SqlChars instance.
Assembly: System.Data (in System.Data.dll)
public void Write( long offset, char buffer, int offsetInBuffer, int count )
- Type: System.Int64
A long value offset into the value that is contained in the SqlChars instance.
- Type: System.Char
The character 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.