Share via


FourPartVersionType simple type [SDM]

 
Platform SDK: System Definition Model Overview

FourPartVersionType Simple Type

Note: This documentation is preliminary and is subject to change.

Defines the type of values used to identify a file version by using a four-part numbering system. The version number identifies the version of all definitions contained within the .sdm file.

<xs:simpleType name="FourPartVersionType">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\.([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])){3}"
         />
    </xs:restriction>
</xs:simpleType>
FourPartVersionType
Defines the type of values used to identify a file version by using a four-part numbering system.

Patterns

The following pattern is defined by the FourPartVersionType simple type:

([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\.([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])){3}

A version of a file is defined by a four part number of the form N.N.N.N where 0 <= N < 65535. The numbers correspond to Major.Minor.Build.Revision.

See Also

SystemDefinitionModel Schema Simple Types

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.