ReadChars(Int32) Method (ImageFileSource)
In This Topic
Reads count characters from the stream of the image file, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.
Syntax
'Declaration
Public Overloads Function ReadChars( _
ByVal As System.Int32 _
) As Char[]
public char[] ReadChars(
System.Int32
)
public: char[] ReadChars(
System.Int32
)
public:
char[] ReadChars(
System.Int32
)
Parameters
- count
- The number of characters to read.
Return Value
A characters array containing data read from the stream of the image file. This might be less than the number of bytes requested if the end of the stream is reached.
Requirements
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
See Also