Language

ReferenceSegment Class

Definition

A segment representing $ref in a path.

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

Constructors

Name Description
ReferenceSegment(IEdmNavigationSource)

Build a segment representing $ref.

Properties

Name Description
EdmType

Gets the IEdmType of this ReferenceSegment.

Identifier

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

(Inherited from ODataPathSegment)

Methods

Name Description
HandleWith(PathSegmentHandler)

Handle a ReferenceSegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a ReferenceSegment using an instance of PathSegmentTranslator<T>.

Applies to