Share via


PathTemplateSegment Class

Definition

A segment representing an path template in a path.

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

Constructors

PathTemplateSegment(String)

Build a segment representing a path template.

Properties

EdmType

Gets the IEdmType of this ODataPathSegment.

Identifier

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

(Inherited from ODataPathSegment)
LiteralText

The literal text for the template segment.

Methods

HandleWith(PathSegmentHandler)

Handle a PathTemplateSegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

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

Applies to