EdmDirectValueAnnotation 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.
Represents an EDM annotation with an immediate native value.
public class EdmDirectValueAnnotation : Microsoft.OData.Edm.EdmNamedElement, Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation
type EdmDirectValueAnnotation = class
inherit EdmNamedElement
interface IEdmDirectValueAnnotation
interface IEdmNamedElement
interface IEdmElement
Public Class EdmDirectValueAnnotation
Inherits EdmNamedElement
Implements IEdmDirectValueAnnotation
- Inheritance
- Implements
Constructors
EdmDirectValueAnnotation(String, String, Object) |
Initializes a new instance of the EdmDirectValueAnnotation class. |
Properties
Name |
Gets the name of this element. (Inherited from EdmNamedElement) |
NamespaceUri |
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. |