StringReader.ReadBlock(Span<Char>) Method
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.
Reads all the characters from the input string starting at the current position and advances the current position to the end of the input string.
public:
override int ReadBlock(Span<char> buffer);
public override int ReadBlock(Span<char> buffer);
override this.ReadBlock : Span<char> -> int
Public Overrides Function ReadBlock (buffer As Span(Of Char)) As Integer
When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.
The total number of characters read into the buffer.
The current string reader instance is closed.
ReadBlock(Span<Char>) internally calls Read(Span<Char>) directly.
Продукт | Версии |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: