共用方式為


Activity<TResult>.Implicit 運算子

定義

多載

Implicit(Variable to Activity<TResult>)

傳回會評估至指定 Activity<TResult>Variable 運算式。

Implicit(Variable<TResult> to Activity<TResult>)

傳回會評估至指定 Activity<TResult>Variable<T> 運算式。

Implicit(TResult to Activity<TResult>)

傳回會評估至指定值的 Activity<TResult> 運算式。

Implicit(Variable to Activity<TResult>)

傳回會評估至指定 Activity<TResult>Variable 運算式。

public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable ^ variable);
public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable variable);
static member op_Implicit : System.Activities.Variable -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (variable As Variable) As Activity(Of TResult)

參數

variable
Variable

運算式的值。

傳回

會評估至指定變數的工作流程運算式。

備註

如果 Variable 的型別與 Activity<TResult> 的型別不相容,則會擲回 ArgumentException

適用於

Implicit(Variable<TResult> to Activity<TResult>)

傳回會評估至指定 Activity<TResult>Variable<T> 運算式。

public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable<TResult> ^ variable);
public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable<TResult> variable);
static member op_Implicit : System.Activities.Variable<'Result> -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (variable As Variable(Of TResult)) As Activity(Of TResult)

參數

variable
Variable<TResult>

運算式的值。

傳回

會評估至指定變數的工作流程運算式。

適用於

Implicit(TResult to Activity<TResult>)

傳回會評估至指定值的 Activity<TResult> 運算式。

public:
 static operator System::Activities::Activity<TResult> ^(TResult constValue);
public static implicit operator System.Activities.Activity<TResult> (TResult constValue);
static member op_Implicit : 'Result -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (constValue As TResult) As Activity(Of TResult)

參數

constValue
TResult

用來建立運算式的值。

傳回

會評估至指定值的工作流程運算式。

適用於