SqlChars.Write(Int64, Char[], Int32, Int32) Methode
Definition
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)
Parameter
- offset
- Int64
Ein long
-Wertoffset in den Wert, der in der SqlChars-Instanz enthalten ist.A long
value offset into the value that is contained in the SqlChars instance.
- buffer
- Char[]
Der Zeichenarraypuffer, in den hineinkopiert werden soll.The character array buffer to copy into.
- offsetInBuffer
- Int32
Ein Int32-Ganzzahloffset in den Puffer, in den das Kopieren gestartet werden soll.An Int32 integer offset into the buffer to start copying into.
- count
- Int32
Eine Int32-Ganzzahl, die die Anzahl der zu kopierenden Zeichen darstellt.An Int32 integer representing the number of characters to copy.
Hinweise
Wenn dieser Vorgang in eine Position über Length , aber innerhalb von schreibt MaxLength , Length wird aktualisiert, um die neue Endposition widerzuspiegeln.If this operation writes to a position beyond Length but within MaxLength, Length is updated to reflect the new ending position.
Der Wert von offsetInBuffer
muss kleiner als oder gleich sein Length .The value of offsetInBuffer
must be less than or equal to Length. Andernfalls wird eine Ausnahme ausgelöst.An exception is thrown otherwise. Beim Schreiben in eine Instanz mit NULL-Wert kann nur der Wert 0 angegeben werden.Only a value of 0 can be specified when writing to a null value instance.
Wenn ein Versuch unternommen wird, über zu schreiben MaxLength , wird eine Ausnahme ausgelöst.If an attempt is made to write beyond MaxLength, an exception is thrown.