GraphicsStream.Read Method |
Language: |
Reads from the current stream and advances the position within it by the number of bytes read.
Visual Basic Public Function Read( _
ByVal unicode As Boolean _
) As StringC# public string Read(
bool unicode
);C++ public:
String^ Read(
bool unicode
);JScript public function Read(
unicode : boolean
) : String;
unicode System.Boolean
Set to true if the graphics stream is Unicode. Set to false if the graphics stream is ASCII.
System.String
A String that contains the data to read from the stream buffer.
Exceptions
NotSupportedException Unable to read from the stream buffer, or there is no data to read. ArgumentException One of the parameters is invalid, the stream buffer is not large enough to hold the requested data, or ranks is greater than three.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center