Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AttributeTypeCode Enumeration

[Applies to: Microsoft Dynamics CRM 2011]

Describes the type of an attribute.

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

[DataContractAttribute(Name="AttributeTypeCode", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum AttributeTypeCode
Member nameDescription
BigIntA big integer attribute. Value = 0x12.
BooleanA Boolean attribute. Value = 0.
CalendarRulesAn attribute that contains calendar rules. Value = 0x10.
CustomerAn attribute that represents a customer. Value = 1.
DateTimeA date/time attribute. Value = 2.
DecimalA decimal attribute. Value = 3.
DoubleA double attribute. Value = 4.
EntityNameAn entity name attribute. Value = 20.
IntegerAn integer attribute. Value = 5.
LookupA lookup attribute. Value = 6.
ManagedPropertyA managed property attribute. Value = 0x13.
MemoA memo attribute. Value = 7.
MoneyA money attribute. Value = 8.
OwnerAn owner attribute. Value = 9.
PartyListA partylist attribute. Value = 10.
PicklistA picklist attribute. Value = 11.
StateA state attribute. Value = 12.
StatusA status attribute. Value = 13.
StringA string attribute. Value = 14.
UniqueidentifierAn attribute that is an ID. Value = 15.
VirtualAn attribute that is created by the system at run time. Value = 0x11.

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.
© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.