This topic has not yet been rated - Rate this topic

AttributeTypeCode Enumeration

Describes the type of an attribute.

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk)
'Usage

[DataContractAttribute(Name="AttributeTypeCode", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum AttributeTypeCode
Member name Description
BigInt Specifies a Big Integer attribute. Value = 18.
Boolean Specifies a Boolean attribute. Value = 0.
CalendarRules Specifies an attribute that contains calendar rules. Value = 16.
Customer Specifies an attribute that represents a customer. Value = 1.
DateTime Specifies a date/time attribute. Value = 2.
Decimal Specifies a decimal attribute. Value = 3.
Double Specifies a double attribute. Value = 4.
EntityName Specifies an EntityName attribute. Value = 20.
Integer Specifies an integer attribute. Value = 5.
Lookup Specifies a lookup attribute. Value = 6.
ManagedProperty Specifies a managed property attribute. Value = 19.
Memo Specifies a memo attribute. Value = 7.
Money Specifies a money attribute. Value = 8.
Owner Specifies an owner attribute. Value = 9.
PartyList Specifies a partylist attribute. Value = 10.
Picklist Specifies a picklist attribute. Value = 11.
State Specifies a state attribute. Value = 12.
Status Specifies a status attribute. Value = 13.
String Specifies a string attribute. Value = 14.
Uniqueidentifier Specifies an attribute that is an ID. Value = 15.
Virtual Specifies an attribute that is created by the system at run time. Value = 17.

Development Platforms

Windows Server 2008

Target Platforms

Windows Server 2008, Windows 7 (All Versions), Windows Vista (All Versions)

Send comments about this topic to Microsoft.
© 2011 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)