مشاركة عبر


AttributeTypeCode Enumeration

 

Applies To: Dynamics CRM 2015

Describes the type of an attribute.

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

Syntax

[DataContractAttribute(Name = "AttributeTypeCode", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum AttributeTypeCode
[DataContractAttribute(Name = "AttributeTypeCode", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum class AttributeTypeCode
[<DataContractAttribute(Name = "AttributeTypeCode", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")>]
type AttributeTypeCode
<DataContractAttribute(Name := "AttributeTypeCode", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration AttributeTypeCode

Members

Member name Description
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.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata

Return to top

© 2016 Microsoft. All rights reserved. Copyright