Share via


Variable.SetExpression(String, String) Method

Definition

The SetExpression(String, String) method is not supported on Variable objects. Use the EvaluateAsExpression property instead.

public:
 virtual void SetExpression(System::String ^ propertyName, System::String ^ expression);
public void SetExpression (string propertyName, string expression);
abstract member SetExpression : string * string -> unit
override this.SetExpression : string * string -> unit
Public Sub SetExpression (propertyName As String, expression As String)

Parameters

propertyName
String

The name of the property to which to assign the expression.

expression
String

The expression.

Implements

Applies to