Download for Windows Premium
Publiciteit
Read-Methode
Read method
Sobald die Read-Methode aufgerufen wird, erhält das DataReader-Objekt eine weitere Zeile aus der Ergebnismenge.
Each time the Read method is called, the data reader gets another row back from the result set.
Erzeugen einer Eigenschaft 'read only' mit einer Read-Methode
Creating a read only property with a Read method
Sie können auch, wenn Sie die Anzahl von erwarteten Zeilen im Voraus wissen, die Zeilen verarbeiten und dann die Read-Methode ein letztes Mal aufrufen, bevor Sie den DataReader und die Verbindung schließen.
Or, if you know in advance the number of rows expected, you can process the rows, and then call the Read method one more time before closing the DataReader and the connection.
Die Read-Methode liest, beginnend bei der aktuellen Position, die angegebene Anzahl von Bytes aus dem Stream in einen Puffer ein.
The Read method reads a specified number of bytes from the stream, starting at its current Position, into a buffer.
Die Read-Methode dieser Implementierung des DataReader gibt, nachdem die letzte Zeile der Daten gelesen wurde, true noch ein weiteres Mal zurück.
The Read method of this implementation of the DataReader returns true one more time after the last row of data has been read.
Wenn Sie daher eine Schleife verwenden, um die Zeilen in dem DataReader zu lesen, und von Read wird true zurückgegeben, müssen Sie den Code so schreiben, dass diese erwartete ApplicationException beim letzten erfolgreichen Aufruf der Read-Methode abgefangen, getestet und verworfen wird.
Therefore, when using a loop to read through the rows in the DataReader while Read returns true, you need to write code to catch, test, and discard this anticipated ApplicationException on the last successful call to the Read method.
Betrifft: Read-Methode | ReadText-Methode
Applies To: Read Method | ReadText Method
Die Reihenfolge der Verzeichniseinträge, die von der read-Methode zurückgegeben werden, ist systemabhängig.
The order in which directory entries are returned by the read method is system-dependent.
Rufen Sie die Read-Methode des DataReader so oft wie benötigt wiederholt auf, um die Zeilen der Ausgabedaten zu durchlaufen.
Call the Read method of the DataReader repeatedly as needed to loop through the rows of output data.
Ich möchte eine eingehende Liste von Typen im Zeichenfolgenformat (zur Laufzeit bestimmt) mit der Read-Methode von QueryMultiple abbilden.
I want to map an incoming list of types in string format (determined at runtime) with the QueryMultiple's Read method.
Wenn der Code versucht, den DataReader oder die Verbindung nach dem Lesen der erwarteten Anzahl von Reihen zu schließen, ohne einen weiteren finalen Aufruf der Read-Methode durchzuführen, gibt der Code eine nicht behandelte Ausnahme aus.
If your code attempts to close the DataReader or the connection after reading the expected number of rows, without an additional, final call to the Read method, the code will raise an unhandled exception.
Sobald die Read-Methode aufgerufen wird, erhält das DataReader-Objekt eine weitere Zeile aus der Ergebnismenge.
Each time the Read method is called, the data reader gets another row back from the result set.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor Read-Methode in het Duits

Publiciteit

Resultaten: 12. Exact: 12. Verstreken tijd: 18 ms.