Gemstone Expressions Library
Show/Hide TOC

# ValueExpressionAttributeBaseGetExpressionUpdateValue Method

Gets the modeled property based value used to update the Expression.

## Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.138 -- Release Build+63a7edac60a211bd5f0d2e3c31f6620955dda11d
C#
View Source Request Example

    public virtual string GetExpressionUpdateValue(
    	PropertyInfo property
    )

VB
View Source Request Example

    Public Overridable Function GetExpressionUpdateValue (
    	property As PropertyInfo
    ) As String

C++
View Source Request Example

    public:
    virtual String^ GetExpressionUpdateValue(
    	PropertyInfo^ property
    )

JavaScript
View Source Request Example

    function GetExpressionUpdateValue(property);

#### Parameters

property PropertyInfo
  Property from which attribute was derived.

#### Return Value

String
Assignment expression based on source property.

#### Implements

IValueExpressionAttributeGetExpressionUpdateValue(PropertyInfo)

## Remarks

This function allows derived attribute implementations to adjust the update value based on property information, e.g., property type.

The expression update value is typically used to assign modeled property values back to expressions allowing synchronization of a model with an external source, e.g., a user interface element.

Default implementation should return $"Instance.{property.Name}".

## See Also

#### Reference

ValueExpressionAttributeBase Class
Gemstone.Expressions.Model Namespace