LocalizeExpression Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.LocalizeExpression ( expressionString, decimalPointOption)

Return Value

String

String containing the localized expression.

Purpose

Converts an expression string to conform to the localization settings for the computer.

Remarks

Call this method to localize an expression before you display it. The method replaces the periods that represent decimal points in the expression with the localized decimal point character. If the localized decimal point character is the comma character, the method also replaces commas that represent argument or expression separators with semicolons. The method does not change periods used as property field separators or any characters inside string constants.

Parameters

expressionString As String

[In] Specifies an unlocalized expression string to convert.

decimalPointOption As DecimalPointLocalizationOptions

[In] Constant that specifies how the method determines which character is the localized decimal point that it uses to localize the expression.


See Also

DecimalPointLocalizationOptions

Engine.DelocalizeExpression

Engine.GetLocalizedDecimalPoint

StationOptions.UseLocalizedDecimalPoint

WAS THIS ARTICLE HELPFUL?

Not Helpful