Share via


EdmValueAnnotation Class

Represents an EDM value annotation.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.Annotations.EdmVocabularyAnnotation
      Microsoft.Data.Edm.Library.Annotations.EdmValueAnnotation

Namespace:  Microsoft.Data.Edm.Library.Annotations
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Class EdmValueAnnotation _
    Inherits EdmVocabularyAnnotation _
    Implements IEdmValueAnnotation, IEdmVocabularyAnnotation, IEdmElement
'Usage
Dim instance As EdmValueAnnotation
public class EdmValueAnnotation : EdmVocabularyAnnotation, 
    IEdmValueAnnotation, IEdmVocabularyAnnotation, IEdmElement
public ref class EdmValueAnnotation : public EdmVocabularyAnnotation, 
    IEdmValueAnnotation, IEdmVocabularyAnnotation, IEdmElement
type EdmValueAnnotation =  
    class 
        inherit EdmVocabularyAnnotation 
        interface IEdmValueAnnotation 
        interface IEdmVocabularyAnnotation 
        interface IEdmElement 
    end
public class EdmValueAnnotation extends EdmVocabularyAnnotation implements IEdmValueAnnotation, IEdmVocabularyAnnotation, IEdmElement

The EdmValueAnnotation type exposes the following members.

Constructors

  Name Description
Public method EdmValueAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, IEdmExpression) Initializes a new instance of the EdmValueAnnotation class.
Public method EdmValueAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, String, IEdmExpression) Initializes a new instance of the EdmValueAnnotation class.

Top

Properties

  Name Description
Public property Qualifier Gets or sets the qualifier used to discriminate between multiple bindings of the same property or type. (Inherited from EdmVocabularyAnnotation.)
Public property Target Gets or sets the element the annotation applies to. (Inherited from EdmVocabularyAnnotation.)
Public property Term Gets or sets the term bound by the annotation. (Inherited from EdmVocabularyAnnotation.)
Public property Value Gets or sets the expression producing the value of the annotation.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Errors Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.)
Public Extension Method GetSchemaNamespace Gets the schema an annotation should be serialized in. (Defined by SerializationExtensionMethods.)
Public Extension Method GetSerializationLocation Gets the location an annotation should be serialized in. (Defined by SerializationExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method SetSchemaNamespace Sets the schema an annotation should appear in. (Defined by SerializationExtensionMethods.)
Public Extension Method SetSerializationLocation Sets the location an annotation should be serialized in. (Defined by SerializationExtensionMethods.)
Public Extension Method ValueTerm Gets the value term with the specified annotation. (Defined by ExtensionMethods.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Edm.Library.Annotations Namespace