ExpressionTextBox.ExpressionType Property
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.
Gets or sets the expression type.
public:
property Type ^ ExpressionType { Type ^ get(); void set(Type ^ value); };
public Type ExpressionType { get; set; }
member this.ExpressionType : Type with get, set
Public Property ExpressionType As Type
Property Value
The expression type.
Remarks
Setting the type is strongly recommended. If you do not set ExpressionType, you can't use the ExpressionTextBox to bind to delegate types and you do not get validation from the hosted compiler. This compiler validation checks to see if the type of the entered expression matches the expected type, and displays a red box around the ExpressionTextBox when invalid data is entered into it on an activity designer.