Share via


GraphicsStream.Write(ValueType) Method (Microsoft.DirectX)

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 ValueTypeLeave Site _
)
C# public void Write(
    ValueTypeLeave Site value
);
C++ public:
void Write(
    ValueTypeLeave Sitevalue
);
JScript public function Write(
    value : ValueTypeLeave Site
);

Parameters

value System.ValueType
Value that specifies the ValueTypeLeave Site of the data to write into the stream buffer.

Remarks

Exceptions

NotSupportedExceptionLeave Site

Unable to write to the stream buffer, or there is no data to write.

ArgumentExceptionLeave 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.