Share via


EdmTypedDirectValueAnnotationBinding<T> Class

Definition

Represents the combination of an EDM annotation with an immediate value and the element to which it is attached.

public class EdmTypedDirectValueAnnotationBinding<T> : Microsoft.OData.Edm.EdmNamedElement, Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationBinding
type EdmTypedDirectValueAnnotationBinding<'T> = class
    inherit EdmNamedElement
    interface IEdmDirectValueAnnotationBinding
Public Class EdmTypedDirectValueAnnotationBinding(Of T)
Inherits EdmNamedElement
Implements IEdmDirectValueAnnotationBinding

Type Parameters

T

Type of the annotation value.

Inheritance
EdmTypedDirectValueAnnotationBinding<T>
Implements

Constructors

EdmTypedDirectValueAnnotationBinding<T>(IEdmElement, T)

Initializes a new instance of the EdmTypedDirectValueAnnotationBinding<T> class.

Properties

Element

Gets the element to which the annotation is attached.

Name

Gets the name of this element.

(Inherited from EdmNamedElement)
NamespaceUri

Gets the namespace Uri of the annotation.

Value

Gets the value of this annotation.

Extension Methods

Location(IEdmElement)

Gets the location of this element.

Errors(IEdmElement)

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.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

Applies to