Share via


Switch.Expression Property

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

The object to compare to the keys in the Cases collection.

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

Syntax

'Declaration
<IsRequiredAttribute> _
Public Property Expression As InArgument
    Get
    Set
'Usage
Dim instance As Switch
Dim value As InArgument

value = instance.Expression

instance.Expression = value
[IsRequiredAttribute]
public InArgument Expression { get; set; }
[IsRequiredAttribute]
public:
property InArgument^ Expression {
    InArgument^ get ();
    void set (InArgument^ value);
}
function get Expression () : InArgument
function set Expression (value : InArgument)
[<IsRequiredAttribute>]
member Expression : InArgument with get, set

Property Value

Type: System.Activities.InArgument
The object to compare.

Remarks

The comparison occurs after the expression is evaluated.

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 Class

Switch Members

System.Activities.Core Namespace