Compartilhar via


version Property

 

Specifies the version to include in the XML declaration. The version property value defaults to "1.0". As of this writing, there have been no plans for any other version of the XML specification. However, if another version is created in the future, the version number in the XML specification will be used to identify which version of the specification the document supports.

Visual Basic 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".

Versioning

Implemented in: MSXML 3.0 and later

Applies to

MXXMLWriter CoClass