ODataPath.WalkWith Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
IEnumerable<T>
an enumerable containing user defined objects for each segment