Share via


ODataExpandPath Class

Definition

A specific type of ODataPath which can only contain instances of TypeSegment or NavigationPropertySegment or PropertySegment of complex.

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

Constructors

ODataExpandPath(IEnumerable<ODataPathSegment>)

Create an ODataPath object to represent a path semantically

ODataExpandPath(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