Sdílet prostřednictvím


ExpressionMorphHelper.TryMorphExpression Metoda

Definice

Vrátí, zda se výraz pokusí o polymorfismu.

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

Parametry

expression
ActivityWithResult

Výraz pro polymorfismu

isLocationExpression
Boolean

true Pokud je výraz výrazem umístění; v opačném případě false .

newType
Type

Nový typ výrazu.

context
EditingContext

Kontext

newExpression
ActivityWithResult

Nový výraz.

Návraty

Boolean

Výraz s polymorfismu.

Platí pro