Share via


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

ReferenceSegment(IEdmNavigationSource)

Build a segment representing $ref.

Properties

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

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