MetadataProperty Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class representing a metadata attribute for an item
public class MetadataProperty : System.Data.Entity.Core.Metadata.Edm.MetadataItemtype MetadataProperty = class
    inherit MetadataItemPublic Class MetadataProperty
Inherits MetadataItem- Inheritance
Properties
| BuiltInTypeKind | Gets the built-in type kind for this MetadataProperty. | 
| Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem) | 
| IsAnnotation | Gets a boolean that indicates whether the metadata property is an annotation. | 
| MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem) | 
| Name | Gets the name of this MetadataProperty. | 
| PropertyKind | Gets the value of this PropertyKind. | 
| TypeUsage | Gets the instance of the TypeUsage class that contains both the type of this MetadataProperty and facets for the type. | 
| Value | Gets the value of this MetadataProperty. | 
Methods
| AddAnnotation(String, Object) | Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem) | 
| Create(String, TypeUsage, Object) | The factory method for constructing the MetadataProperty object. | 
| CreateAnnotation(String, Object) | Creates a metadata annotation having the specified name and value. | 
| RemoveAnnotation(String) | Removes an annotation with the specified name.(Inherited from MetadataItem) |