Share via


ODataSelectPath Class

Definition

A specific type of ODataPath which can only contain instances of TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment, or DynamicPathSegment.

public class ODataSelectPath : Microsoft.OData.UriParser.ODataPath
type ODataSelectPath = class
    inherit ODataPath
Public Class ODataSelectPath
Inherits ODataPath
Inheritance
ODataSelectPath

Constructors

ODataSelectPath(IEnumerable<ODataPathSegment>)

Create an ODataSelectPath

ODataSelectPath(ODataPathSegment[])

Create an ODataPath object based on a single segment

Properties

Count

Get the number of segments in this path.

(Inherited from ODataPath)
FirstSegment

Gets the first segment in the path. Returns null if the path is empty.

(Inherited from ODataPath)
LastSegment

Get the last segment in the path. Returns null if the path is empty.

(Inherited from ODataPath)

Methods

GetEnumerator()

Get the segments enumerator

(Inherited from ODataPath)
WalkWith(PathSegmentHandler)

Walk this path using a handler

(Inherited from ODataPath)
WalkWith<T>(PathSegmentTranslator<T>)

Walk this path using a translator

(Inherited from ODataPath)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

get the segments enumerator

(Inherited from ODataPath)

Applies to