Bagikan melalui


IEdmDirectValueAnnotation Interface

Represents an EDM annotation with an immediate value.

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

Syntax

'Declaration
Public Interface IEdmDirectValueAnnotation _
    Inherits IEdmNamedElement, IEdmElement
'Usage
Dim instance As IEdmDirectValueAnnotation
public interface IEdmDirectValueAnnotation : IEdmNamedElement, 
    IEdmElement
public interface class IEdmDirectValueAnnotation : IEdmNamedElement, 
    IEdmElement
type IEdmDirectValueAnnotation =  
    interface 
        interface IEdmNamedElement 
        interface IEdmElement 
    end
public interface IEdmDirectValueAnnotation extends IEdmNamedElement, IEdmElement

The IEdmDirectValueAnnotation type exposes the following members.

Properties

  Name Description
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property NamespaceUri Gets the namespace Uri of the annotation.
Public property Value Gets the value of this annotation.

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 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.)

Top

See Also

Reference

Microsoft.Data.Edm.Annotations Namespace