GraphicsStream.Write Method

Language:

Writes to the current stream and advances the current position within it by the number of bytes written.

Definition

Visual Basic Public Sub Write( _
    ByVal value As Array _
)
C# public void Write(
    Array value
);
C++ public:
void Write(
    Arrayvalue
);
JScript public function Write(
    value : Array
);

Parameters

value System.Array
Reference to an Array Leave Site that contains the data to write into the stream buffer.

Remarks

Exceptions
NotSupportedException Leave Site Unable to write to the stream buffer, or there is no data to write.
ArgumentException Leave Site 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