ODataPathSegment.TranslateWith<T> 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.
Translate a ODataPathSegment using an implementation ofPathSegmentTranslator<T>.
public abstract T TranslateWith<T> (Microsoft.OData.UriParser.PathSegmentTranslator<T> translator);
abstract member TranslateWith : Microsoft.OData.UriParser.PathSegmentTranslator<'T> -> 'T
Public MustOverride Function TranslateWith(Of T) (translator As PathSegmentTranslator(Of T)) As T
Type Parameters
- T
Type that the translator will return after visiting this token.
Parameters
- translator
- PathSegmentTranslator<T>
An implementation of the translator interface.
Returns
T
An object whose type is determined by the type parameter of the translator.