Microsoft DirectX 9.0 SDK Update (October 2004)

GraphicsStream.Write Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub Write( _
    ByVal value As ValueType _
)
C# public void Write(
    ValueType value
);
Managed C++ public: void Write(
    ValueType *value
);
JScript .NET public function Write(
    value : ValueType
);

Parameters

value System.ValueType. Value that specifies the ValueType Leave Site of 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center