Variable.SetExpression(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.