Switch<T>.Expression Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets 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(Of T)
Get
Set
'Usage
Dim instance As Switch
Dim value As InArgument(Of T)
value = instance.Expression
instance.Expression = value
[IsRequiredAttribute]
public InArgument<T> Expression { get; set; }
[IsRequiredAttribute]
public:
property InArgument<T>^ Expression {
InArgument<T>^ get ();
void set (InArgument<T>^ value);
}
function get Expression () : InArgument<T>
function set Expression (value : InArgument<T>)
[<IsRequiredAttribute>]
member Expression : InArgument<'T> with get, set
Property Value
Type: System.Activities.InArgument<T>
The object to compare to the keys in the Cases collection.
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