GetPropertyValue Method (IEdmModel, IEdmStructuredValue, IEdmProperty, EdmEvaluator)

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

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetPropertyValue ( _
    model As IEdmModel, _
    context As IEdmStructuredValue, _
    property As IEdmProperty, _
    evaluator As EdmEvaluator _
) As IEdmValue
'Usage
Dim model As IEdmModel
Dim context As IEdmStructuredValue
Dim property As IEdmProperty
Dim evaluator As EdmEvaluator
Dim returnValue As IEdmValue

returnValue = model.GetPropertyValue(context, _
    property, evaluator)
public static IEdmValue GetPropertyValue(
    this IEdmModel model,
    IEdmStructuredValue context,
    IEdmProperty property,
    EdmEvaluator evaluator
)
[ExtensionAttribute]
public:
static IEdmValue^ GetPropertyValue(
    IEdmModel^ model, 
    IEdmStructuredValue^ context, 
    IEdmProperty^ property, 
    EdmEvaluator^ evaluator
)
static member GetPropertyValue : 
        model:IEdmModel * 
        context:IEdmStructuredValue * 
        property:IEdmProperty * 
        evaluator:EdmEvaluator -> IEdmValue 
public static function GetPropertyValue(
    model : IEdmModel, 
    context : IEdmStructuredValue, 
    property : IEdmProperty, 
    evaluator : EdmEvaluator
) : IEdmValue

Parameters

Return Value

Type: Microsoft.Data.Edm.Values..::..IEdmValue
The value of the property evaluated against the supplied value, or null if no relevant type annotation exists.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ExtensionMethods Class

GetPropertyValue Overload

Microsoft.Data.Edm Namespace