Share via


FourPartVersionType Simple Type Simple Type

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>

Patterns

The FourPartVersionType simple type is a string that is restricted by the following pattern:

  • ([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

Send comments about this topic to Microsoft

Build date: 9/5/2007