Share via


ExtensionMethods.GetTermValue Method

Definition

Overloads

GetTermValue(IEdmModel, IEdmStructuredValue, IEdmTerm, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

GetTermValue(IEdmModel, IEdmStructuredValue, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

GetTermValue(IEdmModel, IEdmStructuredValue, IEdmTerm, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

GetTermValue(IEdmModel, IEdmStructuredValue, String, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmTerm, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmTerm, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

GetTermValue(IEdmModel, IEdmStructuredValue, IEdmTerm, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * Microsoft.OData.Edm.Vocabularies.IEdmTerm * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, context As IEdmStructuredValue, term As IEdmTerm, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

term
IEdmTerm

Term to evaluate.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmStructuredValue, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, string termName, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, context As IEdmStructuredValue, termName As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

termName
String

Name of the term to evaluate.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

term
IEdmTerm

Term to evaluate.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

termName
String

Name of the term to evaluate.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmStructuredValue, IEdmTerm, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * Microsoft.OData.Edm.Vocabularies.IEdmTerm * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, context As IEdmStructuredValue, term As IEdmTerm, qualifier As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

term
IEdmTerm

Term to evaluate.

qualifier
String

Qualifier to apply.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmStructuredValue, String, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, string termName, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * string * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, context As IEdmStructuredValue, termName As String, qualifier As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

termName
String

Name of the term to evaluate.

qualifier
String

Qualifier to apply.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm, qualifier As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

term
IEdmTerm

Term to evaluate.

qualifier
String

Qualifier to apply.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator)

Gets the IEdmValue of a vocabulary term that has been applied to an element.

public static Microsoft.OData.Edm.Vocabularies.IEdmValue GetTermValue (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator expressionEvaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string * string * Microsoft.OData.Edm.Vocabularies.EdmExpressionEvaluator -> Microsoft.OData.Edm.Vocabularies.IEdmValue
<Extension()>
Public Function GetTermValue (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String, qualifier As String, expressionEvaluator As EdmExpressionEvaluator) As IEdmValue

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

termName
String

Name of the term to evaluate.

qualifier
String

Qualifier to apply.

expressionEvaluator
EdmExpressionEvaluator

Evaluator to use to perform expression evaluation.

Returns

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm, qualifier As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

term
IEdmTerm

Term to evaluate.

qualifier
String

Qualifier to apply.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, string termName, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * string * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, context As IEdmStructuredValue, termName As String, qualifier As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

termName
String

Name of the term to evaluate.

qualifier
String

Qualifier to apply.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmTerm, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * Microsoft.OData.Edm.Vocabularies.IEdmTerm * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, context As IEdmStructuredValue, term As IEdmTerm, qualifier As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

term
IEdmTerm

Term to evaluate.

qualifier
String

Qualifier to apply.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName, string qualifier, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String, qualifier As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

termName
String

Name of the term to evaluate.

qualifier
String

Qualifier to apply.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

term
IEdmTerm

Term to evaluate.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, string termName, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, context As IEdmStructuredValue, termName As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

termName
String

Name of the term to evaluate.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmTerm, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to the type of a value.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue context, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue * Microsoft.OData.Edm.Vocabularies.IEdmTerm * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, context As IEdmStructuredValue, term As IEdmTerm, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

context
IEdmStructuredValue

Value to use as context in evaluation.

term
IEdmTerm

Term to evaluate.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to

GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, EdmToClrEvaluator)

Gets the CLR value of a vocabulary term that has been applied to an element.

public static T GetTermValue<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName, Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator evaluator);
static member GetTermValue : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string * Microsoft.OData.Edm.Vocabularies.EdmToClrEvaluator -> 'T
<Extension()>
Public Function GetTermValue(Of T) (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String, evaluator As EdmToClrEvaluator) As T

Type Parameters

T

The CLR type of the value to be returned.

Parameters

model
IEdmModel

Model to search for term annotations.

element
IEdmVocabularyAnnotatable

Annotated element.

termName
String

Name of the term to evaluate.

evaluator
EdmToClrEvaluator

Evaluator to use to perform expression evaluation.

Returns

T

Value of the term evaluated against the supplied value.

Applies to