version Property

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

version Property

Specifies the version to include in XML declarations, for example, <?xml version="1.0">.

[Visual Basic]

Implementation Syntax

Property Let IMXWriter_version(ByVal RHS As String)
Property Get IMXWriter_version() As String

Usage Syntax

oMXXMLWriter.version = strVersion
strVersion = oMXXMLWriter.version
[C/C++]

Syntax

[propput]
HRESULT version (
   [in] BSTR strVersion);
[propget]
HRESULT version (
   [out, retval] BSTR * strVersion);

Parameters

strVersion
The BSTR of version.

Return Values

S_OK
The value returned if no errors are reported.

Remarks

Read/write. A string representing the version. The default value is "1.0". The XSLProcessor object does not implement setting of this property at run time.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

MXHTMLWriter CoClass | MXXMLWriter CoClass

Applies to: IMXWriter Interface