Variable<T>.Default Property

Definition

Gets or sets the Activity<TResult> that represents the default value for this Variable<T>.

C#
public System.Activities.Activity<T> Default { get; set; }

Property Value

The default value for this Variable<T>.

Remarks

This property is read-only at runtime. If the value is set at runtime, an InvalidOperationException is thrown.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1