Gemstone Expressions Library
Show/Hide TOC

# ValueExpressionParserReplaceThisKeywords Method

Replaces references to "this" keyword with a specified fieldName.

## Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.178 -- Release Build+87f08ff0c31c7c1340429eba736c5cbcad2e8d10
C#
View Source Request Example

    public static string ReplaceThisKeywords(
    	string expression,
    	string fieldName
    )

VB
View Source Request Example

    Public Shared Function ReplaceThisKeywords (
    	expression As String,
    	fieldName As String
    ) As String

C++
View Source Request Example

    public:
    static String^ ReplaceThisKeywords(
    	String^ expression,
    	String^ fieldName
    )

JavaScript
View Source Request Example

    Gemstone.Expressions.Model.ValueExpressionParser.ReplaceThisKeywords = function(expression, fieldName);

#### Parameters

expression String
  Expression to search.
fieldName String
  Replacement value for "this" keyword usages.

#### Return Value

String
An expression with "this" keywords replaced with specified fieldName.

## See Also

#### Reference

ValueExpressionParser Class
Gemstone.Expressions.Model Namespace