Share via


Switch<T>.Cases Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The dictionary of potential execution paths.

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

Syntax

'Declaration
Public ReadOnly Property Cases As IDictionary(Of T, WorkflowElement)
    Get
'Usage
Dim instance As Switch
Dim value As IDictionary(Of T, WorkflowElement)

value = instance.Cases
public IDictionary<T, WorkflowElement> Cases { get; }
public:
property IDictionary<T, WorkflowElement^>^ Cases {
    IDictionary<T, WorkflowElement^>^ get ();
}
function get Cases () : IDictionary<T, WorkflowElement>
member Cases : IDictionary<'T, WorkflowElement>

Property Value

Type: System.Collections.Generic.IDictionary<T, WorkflowElement>
The execution paths.

Remarks

When the activity executes, the case that is executed is the first case whose key matches the Expression property.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

Switch<T> Class

Switch<T> Members

System.Activities.Core Namespace