Switch<T>.Default Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the activity that is executed if no keys of entries in the P:System.Activities.Statements.Switch.Cases collection match the P:System.Activities.Statements.Switch.Expression property.

Namespace:   System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

public Activity Default { get; set; }

Property Value

Type: System.Activities.Activity

The default activity to execute.

.NET Framework
Available since 4.0
Return to top