Share via


ExpandedReferenceSelectItem.TranslateWith<T> Method

Definition

Translate using a SelectItemTranslator<T>.

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

Type Parameters

T

Type that the translator will return after visiting this item.

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.

Exceptions

Throws if the input translator is null.

Applies to