Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Expression Class
Expression Methods
 Reduce Method
Collapse All/Expand All Collapse All
.NET Framework Class Library
Expression..::.Reduce Method

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

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)
Visual Basic (Declaration)
Public Overridable Function Reduce As Expression
Visual Basic (Usage)
Dim instance As Expression
Dim returnValue As Expression

returnValue = instance.Reduce()
C#
public virtual Expression Reduce()
Visual C++
public:
virtual Expression^ Reduce()
F#
abstract Reduce : unit -> Expression 
override Reduce : unit -> Expression 

Return Value

Type: System.Linq.Expressions..::.Expression
The reduced expression.

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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker