Partager via


output Property

 

Determines the output for MXXMLWriter. By default, the output property is a BSTR (string) value. You can also set this property to any implementation of the IStream interface, and the resulting document will be written into the provided IStream. Setting this property to the empty value (VT_EMPTY or " ") will return output to the internal string and reset it.

Visual Basic Usage Syntax

oMXXMLWriter.output = varDestination  
varDestination = oMXXMLWriter.output  

C/C++ Syntax

 [propput]  
HRESULT output (  
   [in] VARIANT varDestination);  
  
[propget]  
HRESULT output (  
   [out, retval] VARIANT * varDestination);  

Parameters

varDestination
The variant destination.

Return Values

S_OK
The value returned if no errors are reported.

Remarks

Read/write. Variant destination. The default is VT_EMPTY to output to string.

Versioning

Implemented in: MSXML 6.0

Applies to

MXHTMLWriter CoClass

See Also

IMXWriter Interface
MXXMLWriter CoClass