Share via


ODataPath.WalkWith Method

Definition

Overloads

WalkWith(PathSegmentHandler)

Walk this path using a handler

WalkWith<T>(PathSegmentTranslator<T>)

Walk this path using a translator

WalkWith(PathSegmentHandler)

Walk this path using a handler

public void WalkWith (Microsoft.OData.UriParser.PathSegmentHandler handler);
member this.WalkWith : Microsoft.OData.UriParser.PathSegmentHandler -> unit
Public Sub WalkWith (handler As PathSegmentHandler)

Parameters

handler
PathSegmentHandler

the handler that will be applied to each segment

Applies to

WalkWith<T>(PathSegmentTranslator<T>)

Walk this path using a translator

public System.Collections.Generic.IEnumerable<T> WalkWith<T> (Microsoft.OData.UriParser.PathSegmentTranslator<T> translator);
member this.WalkWith : Microsoft.OData.UriParser.PathSegmentTranslator<'T> -> seq<'T>
Public Function WalkWith(Of T) (translator As PathSegmentTranslator(Of T)) As IEnumerable(Of T)

Type Parameters

T

the return type of the translator

Parameters

translator
PathSegmentTranslator<T>

a user defined translation path

Returns

an enumerable containing user defined objects for each segment

Applies to