GuidType Element

System.String

GuidType

 

Client Declaration

Specifies the data type for representing a Globally Unique Identifier (GUID) or DCE Universally Unique Identifier (UUID), which is a 128-bit unique identification string of 32 hexadecimal characters enclosed by brackets in the following format: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

NOTE Microsoft® Visual Studio® does not generate a class definition for this element. Because GuidType is based on the String data type, Visual Studio substitutes String for GuidType in its generated definitions.

 

XML Schema

<xsd:simpleType name="GuidType">
<xsd:restriction base="xsd:string">
<xsd: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}\}"/>
</xsd:restriction>
</xsd:simpleType>