Jaa


BatchSegment.TranslateWith<T>(PathSegmentTranslator<T>) Method

Definition

Translate a BatchSegment into something else using an implementation of PathSegmentTranslator<T>.

public override T TranslateWith<T> (Microsoft.OData.UriParser.PathSegmentTranslator<T> translator);
override this.TranslateWith : Microsoft.OData.UriParser.PathSegmentTranslator<'T> -> 'T
Public Overrides Function TranslateWith(Of T) (translator As PathSegmentTranslator(Of T)) As T

Type Parameters

T

Type that the translator will return after translating this segment.

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.

Exceptions

Throws if the input translator is null.

Applies to