AttributeMetadata Class
Updated: January 15, 2016
Applies To: Dynamics CRM 2015
Contains all the metadata for an entity attribute.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Microsoft.Xrm.Sdk.Metadata.MetadataBase
Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
Microsoft.Xrm.Sdk.Metadata.BigIntAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.BooleanAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.DecimalAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.DoubleAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.EnumAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.ImageAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.IntegerAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.ManagedPropertyAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.MemoAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.MoneyAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata
Microsoft.Xrm.Sdk.Metadata.UniqueIdentifierAttributeMetadata
<KnownTypeAttribute(GetType(DoubleAttributeMetadata))> <KnownTypeAttribute(GetType(ManagedPropertyAttributeMetadata))> <KnownTypeAttribute(GetType(MemoAttributeMetadata))> <KnownTypeAttribute(GetType(LookupAttributeMetadata))> <KnownTypeAttribute(GetType(DateTimeAttributeMetadata))> <KnownTypeAttribute(GetType(DecimalAttributeMetadata))> <KnownTypeAttribute(GetType(MoneyAttributeMetadata))> <KnownTypeAttribute(GetType(UniqueIdentifierAttributeMetadata))> <KnownTypeAttribute(GetType(ImageAttributeMetadata))> <KnownTypeAttribute(GetType(IntegerAttributeMetadata))> <KnownTypeAttribute(GetType(BigIntAttributeMetadata))> <KnownTypeAttribute(GetType(BooleanAttributeMetadata))> <KnownTypeAttribute(GetType(EntityNameAttributeMetadata))> <KnownTypeAttribute(GetType(PicklistAttributeMetadata))> <KnownTypeAttribute(GetType(StateAttributeMetadata))> <KnownTypeAttribute(GetType(StatusAttributeMetadata))> <KnownTypeAttribute(GetType(StringAttributeMetadata))> <DataContractAttribute(Name := "AttributeMetadata", Namespace := "http://schemas.microsoft.com/xrm/2011/Metadata")> Public Class AttributeMetadata Inherits MetadataBase
| Name | Description | |
|---|---|---|
![]() | AttributeMetadata() | Initializes a new instance of the AttributeMetadata class. |
![]() | AttributeMetadata(AttributeTypeCode) | Initializes a new instance of the AttributeMetadata class. |
![]() | AttributeMetadata(AttributeTypeCode, String) | Initializes a new instance of the AttributeMetadata class. |
| Name | Description | |
|---|---|---|
![]() | AttributeOf | Gets the name of the attribute that this attribute extends. |
![]() | AttributeType | Gets the type for the attribute. |
![]() | AttributeTypeName | Gets the name of the type for the attribute. |
![]() | CanBeSecuredForCreate | Gets whether field-level security can be applied to prevent a user from adding data to this attribute. |
![]() | CanBeSecuredForRead | Gets whether field-level security can be applied to prevent a user from viewing data from this attribute. |
![]() | CanBeSecuredForUpdate | Gets whether field-level security can be applied to prevent a user from updating data for this attribute. |
![]() | CanModifyAdditionalSettings | Gets or sets the property that determines whether any settings not controlled by managed properties can be changed. |
![]() | ColumnNumber | Gets an organization-specific ID for the attribute used for auditing. |
![]() | DeprecatedVersion | Gets the Microsoft Dynamics CRM version that the attribute was deprecated in. |
![]() | Description | Gets or sets the description of the attribute. |
![]() | DisplayName | Gets or sets the display name for the attribute. |
![]() | EntityLogicalName | Gets the logical name of the entity that contains the attribute. |
![]() | ExtensionData | Gets or sets the structure that contains extra data.(Inherited from MetadataBase.) |
![]() | HasChanged | Gets whether the item of metadata has changed.(Inherited from MetadataBase.) |
![]() | IntroducedVersion | Gets a string identifying the solution version that the solution component was added in. |
![]() | IsAuditEnabled | Gets or sets the property that determines whether the attribute is enabled for auditing. |
![]() | IsCustomAttribute | Gets whether the attribute is a custom attribute. |
![]() | IsCustomizable | Gets or sets the property that determines whether the attribute allows customization. |
![]() | IsLogical | Gets whether the attribute is a logical attribute. |
![]() | IsManaged | Gets whether the attribute is part of a managed solution. |
![]() | IsPrimaryId | Gets whether the attribute represents the unique identifier for the record. |
![]() | IsPrimaryName | Gets or sets whether the attribute represents the primary attribute for the entity. |
![]() | IsRenameable | Gets or sets the property that determines whether the attribute display name can be changed. |
![]() | IsSecured | Gets or sets whether the attribute is secured for field-level security. |
![]() | IsValidForAdvancedFind | Gets or sets the property that determines whether the attribute appears in Advanced Find. |
![]() | IsValidForCreate | Gets whether the value can be set when a record is created. |
![]() | IsValidForRead | Gets whether the value can be retrieved. |
![]() | IsValidForUpdate | Gets whether the value can be updated. |
![]() | LinkedAttributeId | Gets or sets an attribute that is linked between appointments and recurring appointments. |
![]() | LogicalName | Gets or sets the logical name for the attribute. |
![]() | MetadataId | Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.) |
![]() | RequiredLevel | Gets or sets the property that determines the data entry requirement level enforced for the attribute. |
![]() | SchemaName | Gets or sets the schema name for the attribute. |
![]() | SourceType | Gets or sets the value that indicates the source type for a calculated or rollup attribute. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
This class is returned in the RetrieveAttributeResponse.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft. All rights reserved. Copyright


