SqlChars.Write(Int64, Char[], Int32, Int32) Method
Definition
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.
Copies characters from the passed-in buffer to this SqlChars instance.
public:
void Write(long offset, cli::array <char> ^ buffer, int offsetInBuffer, int count);
public void Write (long offset, char[] buffer, int offsetInBuffer, int count);
member this.Write : int64 * char[] * int * int -> unit
Public Sub Write (offset As Long, buffer As Char(), offsetInBuffer As Integer, count As Integer)
Parameters
- buffer
- Char[]
The character array buffer to copy into.
Remarks
If this operation writes to a position beyond Length but within MaxLength, Length is updated to reflect the new ending position.
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.