text: <?xml version="1.0" encoding="utf-8"?>
  <Type Name="DataType" FullName="System.ComponentModel.DataAnnotations.DataType">
    <TypeSignature Language="C#" Value="public enum DataType" />
    <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed DataType extends System.Enum" />
    <AssemblyInfo>
      <AssemblyName>System.ComponentModel.DataAnnotations</AssemblyName>
      <AssemblyVersion>4.0.0.0</AssemblyVersion>
    </AssemblyInfo>
    <Base>
      <BaseTypeName>System.Enum</BaseTypeName>
    </Base>
    <Docs>
      <remarks>
        <attribution license="cc4" from="Microsoft" modified="false" />
        <para>This enumeration is used to specify the type of data to associate with a data column or a parameter. You use the <see cref="T:System.ComponentModel.DataAnnotations.DataTypeAttribute" /> class to specify the data type you want to associate with the data field or parameter. You select the data type from this enumeration. </para>
        <para>The <see cref="T:System.ComponentModel.DataAnnotations.DataTypeAttribute" /> attribute lets you mark fields by using a type that is more specific than the database intrinsic types. For example, a string data field that contains e-mail addresses can be attributed with the <see cref="F:System.ComponentModel.DataAnnotations.DataType.EmailAddress" /> type. This information can be accessed by the field templates and modify how the data field is processed.</para>
        <para>The following table lists the data types Dynamic Data provides.</para>
      </remarks>
      <summary>
        <attribution license="cc4" from="Microsoft" modified="false" />
        <para>Represents an enumeration of the data types associated with data fields and parameters. </para>
      </summary>
    </Docs>
    <Members>
      <Member MemberName="CreditCard">
        <MemberSignature Language="C#" Value="CreditCard" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType CreditCard = int32(14)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a credit card number.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Currency">
        <MemberSignature Language="C#" Value="Currency" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Currency = int32(6)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a currency value.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Custom">
        <MemberSignature Language="C#" Value="Custom" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Custom = int32(0)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a custom data type.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Date">
        <MemberSignature Language="C#" Value="Date" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Date = int32(2)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a date value.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="DateTime">
        <MemberSignature Language="C#" Value="DateTime" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType DateTime = int32(1)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents an instant in time, expressed as a date and time of day.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Duration">
        <MemberSignature Language="C#" Value="Duration" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Duration = int32(4)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a continuous time during which an object exists.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="EmailAddress">
        <MemberSignature Language="C#" Value="EmailAddress" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType EmailAddress = int32(10)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents an e-mail address.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Html">
        <MemberSignature Language="C#" Value="Html" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Html = int32(8)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents an HTML file.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="ImageUrl">
        <MemberSignature Language="C#" Value="ImageUrl" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType ImageUrl = int32(13)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a URL to an image.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="MultilineText">
        <MemberSignature Language="C#" Value="MultilineText" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType MultilineText = int32(9)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents multi-line text.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Password">
        <MemberSignature Language="C#" Value="Password" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Password = int32(11)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represent a password value.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="PhoneNumber">
        <MemberSignature Language="C#" Value="PhoneNumber" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType PhoneNumber = int32(5)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a phone number value.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="PostalCode">
        <MemberSignature Language="C#" Value="PostalCode" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType PostalCode = int32(15)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a postal code.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Text">
        <MemberSignature Language="C#" Value="Text" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Text = int32(7)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents text that is displayed.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Time">
        <MemberSignature Language="C#" Value="Time" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Time = int32(3)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a time value.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Upload">
        <MemberSignature Language="C#" Value="Upload" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Upload = int32(16)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents file upload data type.</para>
          </summary>
        </Docs>
      </Member>
      <Member MemberName="Url">
        <MemberSignature Language="C#" Value="Url" />
        <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.DataAnnotations.DataType Url = int32(12)" />
        <MemberType>Field</MemberType>
        <AssemblyInfo>
          <AssemblyVersion>4.0.0.0</AssemblyVersion>
        </AssemblyInfo>
        <ReturnValue>
          <ReturnType>System.ComponentModel.DataAnnotations.DataType</ReturnType>
        </ReturnValue>
        <Docs>
          <summary>
            <attribution license="cc4" from="Microsoft" modified="false" />
            <para>Represents a URL value.</para>
          </summary>
        </Docs>
      </Member>
    </Members>
  </Type>