version Property

MSXML 5.0 SDK

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

version Property

Returns a string that indicates the value of the version attribute for the <schema> declaration.

Example

The following is an example of the version attribute in an XML Schema.

<xsd:schema version="4.57.2" xmlns:xsd="www.w3.org/2001/XMLSCHEMA"
   <xsd:element>
   </xsd:element>
</xsd:schema>
[Script]

Implementation Syntax

var strVersion = oISchema.version;

Parameters

None.

Return Values

strVersion
A string. The value of the version attribute of the XML Schema.
[Visual Basic]

Implementation Syntax

strVersion = oISchema.version

Parameters

None.

Return Values

strVersion
A string. The value of the version attribute of the XML Schema.
[C/C++]

Implementation Syntax

HRESULT get_version(BSTR* version);

Parameters

version [out,retval]
A string. The value of the version attribute of the XML Schema.

Return Values

S_OK
The value returned if successful.
E_Pointer
The value returned if the version parameter is NULL.
E_FAIL
The value returned if something else is wrong.

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

Applies to: ISchema Interface