EdmAnnotationPathExpression Class

Definition

Represents an EDM annotation path expression.

public class EdmAnnotationPathExpression : Microsoft.OData.Edm.EdmPathExpression
type EdmAnnotationPathExpression = class
    inherit EdmPathExpression
Public Class EdmAnnotationPathExpression
Inherits EdmPathExpression
Inheritance
EdmAnnotationPathExpression

Constructors

EdmAnnotationPathExpression(IEnumerable<String>)

Initializes a new instance of the EdmPropertyPathExpression class.

EdmAnnotationPathExpression(String)

Initializes a new instance of the EdmAnnotationPathExpression class.

EdmAnnotationPathExpression(String[])

Initializes a new instance of the EdmAnnotationPathExpression class.

Properties

ExpressionKind

Gets the kind of this expression.

Path

Gets the path string, like "A.B/C/D.E".

(Inherited from EdmPathExpression)
PathSegments

Gets the path segments as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }.

(Inherited from EdmPathExpression)

Extension Methods

Location(IEdmElement)

Gets the location of this element.

TryCast(IEdmExpression, IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

TryCast(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

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