应用到: CRM 2015 on-prem, CRM Online
Describes the type of an attribute.
命名空间: Microsoft.Xrm.Sdk.Metadata
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
语法
声明
<DataContractAttribute(Name:="AttributeTypeCode", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration AttributeTypeCode
[DataContractAttribute(Name="AttributeTypeCode", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum AttributeTypeCode
成员
| 成员名称 | 描述 | 
|---|---|
| BigInt | A big integer attribute. Value = 0x12. | 
| Boolean | A Boolean attribute. Value = 0. | 
| CalendarRules | An attribute that contains calendar rules. Value = 0x10. | 
| Customer | An attribute that represents a customer. Value = 1. | 
| DateTime | A date/time attribute. Value = 2. | 
| Decimal | A decimal attribute. Value = 3. | 
| Double | A double attribute. Value = 4. | 
| EntityName | An entity name attribute. Value = 20. | 
| Integer | An integer attribute. Value = 5. | 
| Lookup | A lookup attribute. Value = 6. | 
| ManagedProperty | A managed property attribute. Value = 0x13. | 
| Memo | A memo attribute. Value = 7. | 
| Money | A money attribute. Value = 8. | 
| Owner | An owner attribute. Value = 9. | 
| PartyList | A partylist attribute. Value = 10. | 
| Picklist | A picklist attribute. Value = 11. | 
| State | A state attribute. Value = 12. | 
| Status | A status attribute. Value = 13. | 
| String | A string attribute. Value = 14. | 
| Uniqueidentifier | An attribute that is an ID. Value = 15. | 
| Virtual | An attribute that is created by the system at run time. Value = 0x11. | 
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
Microsoft.Xrm.Sdk.Metadata 命名空间
其他资源
Customize Entity Attribute Metadata
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.