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.155 -- Release Build+974f7b00082d0f79a97d56c8e25758ddc7686c23
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