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.176 -- Release Build+040f3607386fb7604df913857f1b8e33ff50cb2f
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