Share via


SelectItem.TranslateWith<T>(SelectItemTranslator<T>) Method

Definition

Translate a SelectItem using an implementation ofSelectItemTranslator<T>.

public abstract T TranslateWith<T> (Microsoft.OData.UriParser.SelectItemTranslator<T> translator);
abstract member TranslateWith : Microsoft.OData.UriParser.SelectItemTranslator<'T> -> 'T
Public MustOverride Function TranslateWith(Of T) (translator As SelectItemTranslator(Of T)) As T

Type Parameters

T

Type that the translator will return after visiting this token.

Parameters

translator
SelectItemTranslator<T>

An implementation of the translator interface.

Returns

T

An object whose type is determined by the type parameter of the translator.

Applies to