GetTermValue Method (IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmEvaluator)
WCF Data Services 5.0
Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
public static IEdmValue GetTermValue( this IEdmModel model, IEdmStructuredValue context, IEdmValueTerm term, EdmEvaluator evaluator )
Parameters
- model
- Type: Microsoft.Data.Edm..::..IEdmModel
The model to search for term annotations.
- context
- Type: Microsoft.Data.Edm.Values..::..IEdmStructuredValue
The value to use as context in evaluation.
- term
- Type: Microsoft.Data.Edm..::..IEdmValueTerm
The term to evaluate.
- evaluator
- Type: Microsoft.Data.Edm.Evaluation..::..EdmEvaluator
The evaluator to use to perform expression evaluation.
Return Value
Type: Microsoft.Data.Edm.Values..::..IEdmValueThe value of the term evaluated against the supplied value.