This topic has not yet been rated - Rate this topic

GUIDType Simple Type

Applies to: desktop apps only

Defines a globally unique identifier type, in Registry format.

<xs:simpleType name="GUIDType">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

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

  • \{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}

    The value must be a globally unique identifier type in Registry format. For example, {5b2fc63a-8af4-44cb-960c-aefdced908d6}. Use GUIDGen.exe or UUIDGen.exe to create a GUID.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ