ExpressionMorphHelper.TryMorphExpression 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.
Returns whether the expression tries to morph.
public:
abstract bool TryMorphExpression(System::Activities::ActivityWithResult ^ expression, bool isLocationExpression, Type ^ newType, System::Activities::Presentation::EditingContext ^ context, [Runtime::InteropServices::Out] System::Activities::ActivityWithResult ^ % newExpression);
public abstract bool TryMorphExpression (System.Activities.ActivityWithResult expression, bool isLocationExpression, Type newType, System.Activities.Presentation.EditingContext context, out System.Activities.ActivityWithResult newExpression);
abstract member TryMorphExpression : System.Activities.ActivityWithResult * bool * Type * System.Activities.Presentation.EditingContext * ActivityWithResult -> bool
Public MustOverride Function TryMorphExpression (expression As ActivityWithResult, isLocationExpression As Boolean, newType As Type, context As EditingContext, ByRef newExpression As ActivityWithResult) As Boolean
Parameters
- expression
- ActivityWithResult
The expression to morph.
- isLocationExpression
- Boolean
true
if the expression is a location expression; otherwise, false
.
- newType
- Type
The new type of the expression.
- context
- EditingContext
The context.
- newExpression
- ActivityWithResult
The new expression.
Returns
The morphed expression.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.