Delen via


EdmNamedElement Class

Definition

Common base class for all named EDM elements.

public abstract class EdmNamedElement : Microsoft.OData.Edm.EdmElement, Microsoft.OData.Edm.IEdmNamedElement
type EdmNamedElement = class
    inherit EdmElement
    interface IEdmNamedElement
    interface IEdmElement
Public MustInherit Class EdmNamedElement
Inherits EdmElement
Implements IEdmNamedElement
Inheritance
EdmNamedElement
Derived
Implements

Constructors

EdmNamedElement(String)

Initializes a new instance of the EdmNamedElement class.

Properties

Name

Gets the name of this element.

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