ForEachLoop.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.
Assigns the specified expression to the property. Specify null to remove an existing expression from the property.
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
Remarks
The propertyName
can be any property available on the object.