Share via


GraphicsStream.Write(String,Boolean) 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 String, _
    ByVal isUnicodeString As Boolean _
)
C# public void Write(
    string value,
    bool isUnicodeString
);
C++ public:
void Write(
    StringLeave Sitevalue,
    bool isUnicodeString
);
JScript public function Write(
    value : String,
    isUnicodeString : boolean
);

Parameters

value System.String
Reference to a StringLeave Site that contains the data to write into the stream buffer.
isUnicodeString System.Boolean
Set to true if the graphics stream is Unicode. Set to false if the graphics stream is ASCII.

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.