Share via


AnnotationSegment Class

Definition

A segment representing an Annotation

public sealed class AnnotationSegment : Microsoft.OData.UriParser.ODataPathSegment
type AnnotationSegment = class
    inherit ODataPathSegment
Public NotInheritable Class AnnotationSegment
Inherits ODataPathSegment
Inheritance
AnnotationSegment

Constructors

AnnotationSegment(IEdmTerm)

Build a segment based on an annotation term

Properties

EdmType

Gets the IEdmType of this AnnotationSegment.

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)
Term

Gets the annotation term that this segment represents.

Methods

HandleWith(PathSegmentHandler)

Handle a AnnotationSegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a AnnotationSegment using an instance of PathSegmentTranslator<T>/>.

Applies to