DocDataTextReader.Read 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.
Overloads
Read() |
Gets the text at the next position. |
Read(Char[], Int32, Int32) |
Sets the text of the specified buffer at the specified position. |
Read()
Gets the text at the next position.
public:
override int Read();
public:
override int Read();
override int Read();
public override int Read ();
override this.Read : unit -> int
Public Overrides Function Read () As Integer
Returns
The text at the next position (incrementing the internal counter), or -1 if the current position is equal to or greater than the length of the stream.
Applies to
Read(Char[], Int32, Int32)
Sets the text of the specified buffer at the specified position.
public:
override int Read(cli::array <char> ^ buffer, int index, int count);
public:
override int Read(Platform::Array <char16> ^ buffer, int index, int count);
override int Read(std::Array <char> const & buffer, int index, int count);
public override int Read (char[] buffer, int index, int count);
override this.Read : char[] * int * int -> int
Public Overrides Function Read (buffer As Char(), index As Integer, count As Integer) As Integer
Parameters
- buffer
- Char[]
A character array to be populated.
- index
- Int32
The starting point in the underlying text.
- count
- Int32
The number of items in the underlying text to be copied.
Returns
The number of characters actually read.