EdmDirectValueAnnotation Class
Represents an EDM annotation with an immediate native value.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmNamedElement
Microsoft.Data.Edm.Library.Annotations.EdmDirectValueAnnotation
Namespace: Microsoft.Data.Edm.Library.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmDirectValueAnnotation _
Inherits EdmNamedElement _
Implements IEdmDirectValueAnnotation, IEdmNamedElement, IEdmElement
'Usage
Dim instance As EdmDirectValueAnnotation
public class EdmDirectValueAnnotation : EdmNamedElement,
IEdmDirectValueAnnotation, IEdmNamedElement, IEdmElement
public ref class EdmDirectValueAnnotation : public EdmNamedElement,
IEdmDirectValueAnnotation, IEdmNamedElement, IEdmElement
type EdmDirectValueAnnotation =
class
inherit EdmNamedElement
interface IEdmDirectValueAnnotation
interface IEdmNamedElement
interface IEdmElement
end
public class EdmDirectValueAnnotation extends EdmNamedElement implements IEdmDirectValueAnnotation, IEdmNamedElement, IEdmElement
The EdmDirectValueAnnotation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmDirectValueAnnotation | Initializes a new instance of the EdmDirectValueAnnotation class. |
Top
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (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.