output Property

 

Sets the destination and the type of output for IMXWriter. By default, the output property is a BSTR (string) value. Output can be:

  • Any implementation of the IStream interface. (The resulting document will be written into the provided IStream).

  • A string.

  • A DOMDocument object.

    For more information about setting the output property to a DOMDocument object, see Create a DOMDocument Object from SAX Events.

Setting this property to the empty value (VT_EMPTY or " ") will return output to the internal string and reset it.

Visual Basic Implementation Syntax

Private Property Let IMXWriter_output(ByVal RHS As Variant)  
Private Property Get IMXWriter_output() As Variant  

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 3.0 and later

Applies to

IMXWriter Interface

See Also

MXHTMLWriter CoClass
MXXMLWriter CoClass