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.173 -- Release Build+834d03b794d53411758be20f1f518c9303f715d0
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