次の方法で共有


ExpressionMorphHelper.TryMorphExpression メソッド

定義

式が変形を試みるかどうかを返します。

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

パラメーター

expression
ActivityWithResult

変形する式。

isLocationExpression
Boolean

式が配置式である場合は true。それ以外の場合は false

newType
Type

新しい式の型。

context
EditingContext

コンテキスト。

newExpression
ActivityWithResult

新しい式。

戻り値

変形式。

適用対象