AttributeMetadata Class (MetadataService)
Contains all the metadata for an entity attribute.
The AttributeMetadata class inherits from CrmMetadata. It exposes the following members.
| Constructor | Description |
| AttributeMetadata | Initializes a new instance of the AttributeMetadata class. |
| Instance Property | Description |
| AggregateOf | Gets the name of the attribute that aggregates the value of this property. |
| AttributeOf | Gets the name of that attribute that this attribute extends. |
| AttributeType | Gets or sets the type for the attribute. |
| CalculationOf | For internal use only. |
| DefaultValue | Gets or sets the default value of the attribute. |
| Description | Gets or sets the description of the attribute. |
| DisplayMask | Gets information about how to display the attribute. |
| DisplayName | Gets or sets the display name for the attribute. |
| EntityLogicalName | Gets the logical name of the entity that contains the attribute. |
| IsCustomField | Gets whether the attribute is a custom field. |
| LogicalName | Gets the logical name for the attribute. |
| RequiredLevel | Gets or sets the data entry requirement level enforced for the attribute. |
| SchemaName | Gets or sets the schema name for the attribute. |
| ValidForCreate | Gets whether the field can be specified when an entity instance is created. |
| ValidForRead | Gets whether the field can be specified when an entity instance is retrieved. |
| ValidForUpdate | Gets whether the field can be specified when an entity instance is updated. |
| YomiOf | For internal use only. |
Remarks
This class is returned in the response from the RetrieveAttribute message.
Requirements
Web service: MetadataService
See Also
Reference
© 2009 Microsoft Corporation. All rights reserved.