Export (0) Print
Expand All

2.9 PrimitiveType

The PrimitiveType element specifies the name of a data type.

The values and meanings for the PrimitiveType element are as follows.

Value

Meaning

Boolean

Specifies use of the Boolean data type.

Byte

Specifies use of the Byte data type.

DateTime

Specifies use of the DateTime data type.

Decimal

Specifies use of the Decimal data type.

Double

Specifies use of the Double data type.

Guid

Specifies use of the Guid data type.

Single

Specifies use of the Single data type.

SByte

Specifies use of the SByte data type.

Int16

Specifies use of the Int16 data type.

Int32

Specifies use of the Int32 data type.

Int64

Specifies use of the Int64 data type.

String

Specifies use of the String data type.

Time

Specifies use of the Time data type.

The following is the XSD for the PrimitiveType element.          

   <xs:simpleType name="PrimitiveType">
     <xs:restriction base="xs:string">
       <xs:enumeration value="Boolean" />
       <xs:enumeration value="Byte" />
       <xs:enumeration value="DateTime" />
       <xs:enumeration value="Decimal" />
       <xs:enumeration value="Double" />
       <xs:enumeration value="Guid" />
       <xs:enumeration value="Single" />
       <xs:enumeration value="SByte" />
       <xs:enumeration value="Int16" />
       <xs:enumeration value="Int32" />
       <xs:enumeration value="Int64" />
       <xs:enumeration value="String" />
       <xs:enumeration value="Time" />
     </xs:restriction>
   </xs:simpleType>
Show:
© 2016 Microsoft