Share via


ValueExpression Constructor (String)

Initializes a new instance of the ValueExpression class with the specified value.

 public ValueExpression(
    String val
);

Parameters

  • val
    The value to use, represented as a string.

Remarks

All values, including numbers and dates, are represented as strings. When converting data types to strings, you should use their ToString(IFormatProvider provider) method, with System.Globalization.CultureInfo.InvariantCulture as the parameter value.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)

See Also

ValueExpression Class | ValueExpression Members