Variable<T>.Default 属性

定义

获取或设置表示此 Activity<TResult> 的默认值的 Variable<T>

public:
 property System::Activities::Activity<T> ^ Default { System::Activities::Activity<T> ^ get(); void set(System::Activities::Activity<T> ^ value); };
public System.Activities.Activity<T> Default { get; set; }
member this.Default : System.Activities.Activity<'T> with get, set
Public Property Default As Activity(Of T)

属性值

Variable<T> 的默认值。

注解

此属性在运行时为只读。 如果在运行时设置值,则会引发 InvalidOperationException

适用于