Partager via


AttributeTypeCode Enum

Definition

Describes the type of an attribute.

For the Web API use the AttributeTypeCode EnumType.

public enum class AttributeTypeCode
[System.Runtime.Serialization.DataContract(Name="AttributeTypeCode", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum AttributeTypeCode
[<System.Runtime.Serialization.DataContract(Name="AttributeTypeCode", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type AttributeTypeCode = 
Public Enum AttributeTypeCode
Inheritance
AttributeTypeCode
Attributes

Fields

Name Value Description
Boolean 0

A Boolean attribute. Value = 0.

Customer 1

An attribute that represents a customer. Value = 1.

DateTime 2

A date/time attribute. Value = 2.

Decimal 3

A decimal attribute. Value = 3.

Double 4

A double attribute. Value = 4.

Integer 5

An integer attribute. Value = 5.

Lookup 6

A lookup attribute. Value = 6.

Memo 7

A memo attribute. Value = 7.

Money 8

A money attribute. Value = 8.

Owner 9

An owner attribute. Value = 9.

PartyList 10

A partylist attribute. Value = 10.

Picklist 11

A picklist attribute. Value = 11.

State 12

A state attribute. Value = 12.

Status 13

A status attribute. Value = 13.

String 14

A string attribute. Value = 14.

Uniqueidentifier 15

An attribute that is an ID. Value = 15.

CalendarRules 16

An attribute that contains calendar rules. Value = 0x10.

Virtual 17

An attribute that is created by the system at run time. Value = 0x11.

BigInt 18

A big integer attribute. Value = 0x12.

ManagedProperty 19

A managed property attribute. Value = 0x13.

EntityName 20

An entity name attribute. Value = 20.

Applies to