Language

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

Name Description
PathTemplateSegment(String)

Build a segment representing a path template.

Properties

Name Description
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

Name Description
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