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.152 -- Release Build+d0f77b4339ff7beb873feaaa58156bd5ae88d110
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